目录
[ERROR] Java heap space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
在 Linux下用maven 下载组件
这通常是由于正在构建的项目过于复杂或依赖项过多,导致堆内存不足而引发的问题
mvn clean install -Xmx2g
将Java堆空间增加到2GB。你可以根据需要调整值
再次 运行就OK啦!