Syntax error, annotations are only available if source level is 1.5

来源:互联网 发布:免费淘宝联盟推广软件 编辑:程序博客网 时间:2024/04/30 08:51

Syntax error, annotations are only available if source level is 1.5

解决办法:Project->Properties->Java Compiler->Compiler Compliance Level选择5.0或者以上的jdk版本

0 0
原创粉丝点击