1.报错如下:

eclipse中,项目有红叉之- Resource specification not allowed here for source level below 1.7

2.原因:是因为项目的jdk版本低于了1.7,所以报错

3.解决:更换项目的jdk为1.7以上版本,项目右击->properties->Java Compiler

 eclipse中,项目有红叉之- Resource specification not allowed here for source level below 1.7

 

相关文章:

  • 2021-07-14
  • 2022-01-10
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2021-09-05
  • 2021-11-17
猜你喜欢
  • 2021-08-28
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2021-08-03
相关资源
相似解决方案