Tag Archives: IDEA Compile Error

[Solved] IDEA Compile Error: java: Compilation failed: internal java compiler error

java: Compilation failed: internal java compiler error

1. view the project jdk(Ctrl+Alt+shift+S)
File ->Project Structure->Project Settings ->Project

2. view the project jdk(Ctrl+Alt+shift+S)
File ->Project Structure->Project Settings -> Modules -> (Name of the project to be modified) -> Sources ->

3. view Java configuration in idea
File ->Setting ->Build,Execution,Deployment -> Compiler -> Java Compiler

4.  Clear IDEA cache, restart IDEA
File -> Invalidate Caches/Restart

5. Reload All Maven Projects