Idea报错:Error:java: Compilation failed: internal java compiler error 解决办法
1、查看项目的jdk(Ctrl+Alt+shift+S)
File ->Project Structure->Project Settings ->Project
2、查看工程的jdk(Ctrl+Alt+shift+S)
File ->Project Structure->Project Settings -> Modules -> (需要修改的工程名称) -> Sources ->
3、查看idea中Java配置
File ->Setting ->Build,Execution,Deployment -> Compiler -> Java Compiler
4、查看idea中Compiler
上面四步做完还是失败的话
清除IDEA缓存 重启IDEA
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)