1.File – Project Structure – Project – Project SDK: Change it to Java 1.8.XX

2.File – Project Structure – Project – Language Level: SDK 8 (in my case SDK default was already 8)

IDEA lambda expressions are not supported at language level '5'

3.File --Project Structure – Modules – Sources – SDK 8 (in my case SDK default was already 8)

IDEA lambda expressions are not supported at language level '5'

4.File – Settings --Build, Execution, Deployment – Compiler – Java Compiler – Project bytecode version --1.8

IDEA lambda expressions are not supported at language level '5'

5.File – Settings – Build, Execution, Deployment – Compiler --Java Compiler – Per-module bytecode version – Target bytecode version – 1.8

IDEA lambda expressions are not supported at language level '5'

相关文章:

  • 2022-01-15
  • 2022-12-23
  • 2021-06-18
  • 2021-04-02
  • 2021-06-11
  • 2021-12-10
猜你喜欢
  • 2021-10-03
  • 2021-06-13
  • 2021-12-16
  • 2021-10-15
  • 2022-12-23
相关资源
相似解决方案