项目启动报错: Error:java: Compilation failed: internal java compiler error
报错原因:
项目中Java版本不一致,可以查看项目中的jdk配置。
解决办法:
步骤 : 1.检查项目JDK版本.
File ->Project Structure->Project Settings ->Project
2.检查工程JDK版本.
File ->Project Structure->Project Settings -> Modules -> Sources ->
3.检查idea中java配置.
File ->Settings ->Build,Execution,Deployment ->Compiler ->java Compiler