IDEA报错:java: Compilation failed: internal java compiler error

具体有:

  • 查看项目的jdk(Ctrl+Alt+shift+S)

File ->Project Structure->Project Settings ->Project

  • 查看工程的jdk(Ctrl+Alt+shift+S)

File ->Project Structure->Project Settings -> Modules -> (需要修改的工程名称) -> Sources

  • 查看idea中Java配置

File ->Setting ->Build,Execution,Deployment -> Compiler -> Java Compiler

  • 修改堆大小

File ->Setting -->Build,Execution,Deployment-->Compiler 中找到build process heap size(Mbytes):700改为1024或者8192

上一篇:C# 异常处理(Catch Throw)IL分析


下一篇:Zabbix宏使用及用户自定义监控(三)