导入的项目jdk版本不同

右击项目 properties----->
Syntax error, annotations are only available if source level is 1.5 or greater
改成自己jdk版本
Syntax error, annotations are only available if source level is 1.5 or greater
改成jdk版本
Syntax error, annotations are only available if source level is 1.5 or greater
将java改成自己的jdk版本

打开自己项目的.settings文件org.eclipse.wst.common.project.facet.core用记事本打开并更改 成自己的jdk版本

相关文章:

  • 2021-09-23
  • 2021-09-26
  • 2021-07-22
  • 2022-12-23
  • 2022-01-01
  • 2021-09-28
  • 2022-01-17
  • 2021-09-25
猜你喜欢
  • 2021-10-26
  • 2021-10-16
  • 2022-12-23
相关资源
相似解决方案