Error Reason
The reason for this error is mainly because of the jdk version problem, There are two reasons here, One is that the compiled version does not match, The other is that the current project jdk version does not support.
1:mac select Preferences
windows find Setting
Find Java Compiler
Select 1.8 on the right
2: Find File ->Project Structure->Project Settings
Choose 8
Choose 8
Read More:
- [Solved] Java: compilation failed: internal java compiler error
- [Solved] java: Compilation failed: internal java compiler error
- [Solved] IDEA java compile error: Error:java: Compilation failed: internal java compiler error
- [Solved] IDEA Start Porject Error: java: Compilation failed: internal java compiler error
- [Solved] Compilation failed: internal java compiler error
- Errorjava Compilation failed internal java compiler error [Solved]
- IntelliJ idea compilation error: Error:java : Compilation failed: internal java compiler error
- IDEA Compile Error: java Compilation failed internal java compiler error
- [Solved] Error:java: Compilation failed: internal java compiler error
- [Solved] Errorjava Compilation failed internal java compiler error
- Errorjava Compilation failed internal java compiler error [How to Solve]
- [Solved] Error:java: Compilation failed: internal java compiler error 解决办法
- [Solved]Error:java: Compilation failed: internal java compiler error
- [Solved] Error:java: Compilation failed: internal java compiler error
- Compilation failed: internal java compiler error[How to Solve]
- [Solved] Error:java: Compilation failed: internal java compiler error
- Java Error | Error:java: Compilation failed: internal java compiler error
- [Solved] IDEA Error: java Compilation failed internal java compiler error
- [Solved] IDEA Compile Error: java: Compilation failed: internal java compiler error
- [Solved] Error:java: Compilation failed: internal java compiler error