原因

这是代码编译需要的jdk版本和代码jdk版本不一致造成的

解决办法

1.File —>project structure—> project language level
lambda expressions are not supported at this language level
2.1.File —>project structure—> module
lambda expressions are not supported at this language level

相关文章:

  • 2021-04-14
  • 2021-12-10
  • 2021-10-05
  • 2021-12-16
  • 2021-07-28
  • 2021-06-13
猜你喜欢
  • 2022-12-23
  • 2021-10-03
  • 2021-06-11
相关资源
相似解决方案