Maven构建项目速度慢且报Retrieving archetypes:' has encountered a problem,接下来弹框提示:An internal error occurred during: "Retrieving archetypes:". Java heap space
表示你的myeclipse堆内存不够了
解决方案:
1. 找到MyEclipse的安装目录下myeclipse.ini文件并打开。
2. 修改文件中的以下配置
-Xms512m 改为 -Xmx1024m
3. 在重新打开myEclipse,如果打不开myEclipse,则重新安装并修改