阅读512 返回首页    go 阿里云 go 技术社区[云栖]


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

原文:https://heisetoufa.iteye.com/blog/621396

 

 

Syntax error,annotations are only available if source level is 5.0 
解决办法:Project->Properties->Java Compiler->Compiler Compliance Level选择5.0或者以上的jdk版本 
Project->Java Build Path->Libraries->Add Library...->JUnit->Select "JUnit 4.0"->Finish 经过以上设置后可顺利解决问题。 

最后更新:2017-04-02 06:51:39

  上一篇:go Android源代码下载指南(图解)
  下一篇:go 2011年腾讯校园之星互联网应用开发大赛之我见