Syntax error, annotations are only available if source level is 1.5 or greater
2018-01-16 11:01
330 查看
Eclipse中导入项目,@Override报错,错误信息:Syntax error, annotations are only available if source level is 1.5 or greater JDK1.7 和Tomcat7
处理方式:在项目上点击右键->Properties->Project Facets,修改JAVA为1.7,点击Apply即可。
处理方式:在项目上点击右键->Properties->Project Facets,修改JAVA为1.7,点击Apply即可。
相关文章推荐
- Syntax error, annotations are only available if source level is 1.5 or greater
- Eclipse配置错误 —— Syntax error, annotations are only available if source level is 1.5 or greater
- Syntax error, annotations are only available if source level is 1.5 or greater
- Syntax error, parameterized types are only available if source level is 1.5 or greater
- eclipse magic: … Syntax error, varargs are only available if source level is 1.5 or greater
- [Android] Troubleshooting: Syntax error, annotations are only available if source level is 1.5
- Problem:Syntax error, annotations are only available if source level is 1.5
- Syntax error, annotations are only available if source level is 1.5
- eclipse中Syntax error, 'for each' statements are only available if source level is 1.5 or greater
- Syntax error, annotations are only available if source level is 1.5
- Syntax error, parameterized types are only available if source level is 1.5 or greater
- Syntax error, parameterized types are only available if source level is 1.5 or greater
- Syntax error, annotations are only available if source level is 1.5 or greater.
- Syntax error, annotations are only available if source level is 1.5
- Syntax error, parameterized types are only available if source level is 1.5 or greater
- Syntax error, parameterized types are only available if source level is 1.5 or greater的解决办法
- JAVA版本错误解决:Syntax error, parameterized types are only available if source level is 1.5 or greater
- Syntax error, annotations are only available if source level is 1.5 or greater解决方法
- Syntax error, annotations are only available if source level is 1.5
- Syntax error, type parameters are only available if source level is 1.5