Maven project startup error Compilation failed: internal java compiler error

1. Check the jdk compiler version

 

Second, check the maven configuration

 

3. Check the heap size of the user's local build process used for compilation (overwrite the shared size), set it to 4096

For Maven Clean

5. Restart the project

Summary of the problem: The problem this time is that the project is too large and the local heap memory is too small, which makes the project unable to run. This problem can be solved by adjusting the heap memory to an appropriate size

 

Guess you like

Origin blog.csdn.net/weixin_71921932/article/details/129817557