简体   繁体   English

使用eclipse juno和java 8加载maven工件时出错

[英]Error in loading maven artifacts with eclipse juno and java 8 installed

I have installed Eclipse Juno and integrated Maven, but when I try to create a Maven project, it is showing the error, Retrieving archetypes: GC overhead limit exceeded . 我已经安装了Eclipse Juno并集成了Maven,但是当我尝试创建Maven项目时,它显示了错误: Retrieving archetypes: GC overhead limit exceeded Before I had Juno installed, I Kepler installed and used the same Maven and it worked fine. 在我安装Juno之前,我安装了Kepler并使用了相同的Maven,它运行良好。

You might have lost your JVM tuning around heap size with new installation 您可能已经使用新安装丢失了JVM调整堆大小

edit your eclipse.ini 编辑你的eclipse.ini

and modify the values below to change Java's initial & maximum memory allocation 并修改以下值以更改Java的初始和最大内存分配

-vmargs
-Xms512mm
-Xmx2g

Provide appropriate values as per your environment. 根据您的环境提供适当的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM