When the idea to run the program error, IDEA Error: java: Compilation failed: internal java compiler error

The solution is simple: File -> Setting ...--> Build, Execution, Deployment -> Compiler -> Java Compiler set the appropriate version of the corresponding target bytecode version of Module (consistent with your jkd version), and here I into version 1.8.

Guess you like

Origin www.cnblogs.com/liuyh-blog/p/12560432.html