Syntax error, annotations are only available if source level is 1.5
2011-02-21 15:04
489 查看
Syntax error,annotations are only available if source level is 5.0
解决办法:Project->Properties->Java Compiler->Compiler Compliance Level选择5.0或者以上的jdk版本
解决办法:Project->Properties->Java Compiler->Compiler Compliance Level选择5.0或者以上的jdk版本
相关文章推荐
- Syntax error, annotations are only available if source level is 1.5
- 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
- Problem:Syntax error, annotations are only available if source level is 1.5
- Eclipse配置错误 —— Syntax error, annotations 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
- 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, annotations are only available if source level is 1.5
- 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已解
- 在Eclipse中.java文件报错: Syntax error, parameterized types are only available if source level is 1.5 or
- Syntax error, type parameters are only available if source level is 1.5
- Syntax error, parameterized types are only available if source level is 1.5
- Syntax error, parameterized types are only available if source level is 1.5
- Syntax error, annotations are only available if source level is 5.0解决办法
- eclipse中Syntax error, 'for each' statements are only available if source level is 1.5 or greater
- Syntax error, parameterized types are only available if source level is 1.5