使用IDEA运行时,出现错误:Error:java: Compilation failed: internal java compiler error
-
查看pom文件中的java版本(此处为java1.8)
-
查看项目的java版本(此处为java1.8)
File --> Project Structure --> Project Settings --> Project
-
查看IDEA编辑器的JDK版本
File --> Settings --> Build, Execution, Deployment --> Compiler --> Java Compiler
修改并应用
问题完美解决



