Method 1: it may be due to heap memory problems
In setting — & gt; Build,Execution,Deployment–> Build process heap size (Mbytes) found in compiler: 700 changed to 1024 (as appropriate)
Method 2: it may be due to project coding
PS: I can compile it by changing it to GBK. The system default GBK format is invalid and needs to be manually changed to GBK
Read More:
- Idea error: Java: compilation failed: internal java compiler error
- Error:java: Compilation failed: internal java compiler error
- Outofmemoryerror: GC overhead limit exceeded solution
- Java: compilation failed: internal java compiler error and invalid source distribution resolution
- Idea error: error: Java: error: release 5 is not supported
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- Java. Lang. outofmemoryerror when using idea build project
- Error assembling WAR: Problem creating war: Execution exception (and the archive is probably corrup
- How to Solve Error: Failed to execute goal org.codehaus.mojo:……..
- Idea ignores compilation errors and runs in eclipse compilation mode
- Yarn: runtime.ContainerExecutionException : launch container failed
- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:11 (project):
- Error: failed to format “E:”; Diskpart errorlevel – 2147212243
- Diamond types are not supported at this language level appears in IntelliJ
- Uncaught (in promise) Error: timeout of 5000ms exceeded
- ninja Compiling the C compiler identification source file CMakeCCompilerId.c failed
- g++: internal compiler error: Killed (program cc1plus)
- FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed
- The solution of a Java exception has occurred. And error exception in thread when eclipse runs
- Hot Swap failed:add method not implemented