报错:Fatal error compiling: java.lang.OutOfMemoryError: Java heap space
如图:
解决:
修改配置文件:
apache-maven-xxxxxin目录下mvn文件,追加以下命令,重启intellij;再次 install
1 @REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 2 set MAVEN_OPTS= -Xms128m -Xmx1024m
参考:https://blog.csdn.net/qq_42643690/article/details/104602311