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)

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

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

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

相关文章:
-
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
相关资源
-
下载
2022-12-16
-
下载
2021-06-27
-
下载
2023-01-09
-
下载
2023-01-18