报错:'<>' operator is not allowed for source level below 1.7

这是eclipse的编译环境与项目的要求不对应造成的,这个错误一般是导入别的项目才出现的。

解决:

鼠标放在项目上,右键菜单里点击 Properties, 勾选上面的 Enable project specific settings, Compiler Compliance level: 选择1.7以上。
Eclipse '《》'operator is not allowed for source level below 1.7

 

相关文章:

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