这是eclipse的编译环境与项目的要求不对应造成的

右键项目properties--Java compiler--勾选Enable project  specific  settings--Compiler compliance level--选择1.7--OK

'' 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
猜你喜欢
  • 2021-08-03
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
相关资源
相似解决方案