我使用的是带有Maven3.0.2的,当我尝试在我的项目上通过命令提示符执行mvn install时,它工作得很好。
但是,当我通过eclipse运行mvn install时,它失败了,并显示以下错误
plugin - maven jar plugin or one of its dependencies could not be resolved ,
failed to read the maven-jar 2.4 artifact.
can not access the maven repository using the registered transporter factories
WagonTransportFactory: java.util.NoSuchElementException如果你以前遇到过这个问题,或者对此有一定的了解,那么任何人都可以提供帮助。
发布于 2015-02-02 14:10:34
这是因为代理限制了对maven存储库的调用:
settings.xml文件。

<proxies>
<proxy>
<active>true</active>
<host>myproxy.host.net</host>
<port>80</port>
</proxy>
</proxies>发布于 2015-02-02 15:53:41
感谢您的回复...
我尝试了settings.xml和proxy,它没有发生。
然后我试着用开普勒eclipse,它现在工作得很好。
我认为露娜有一些问题。
https://stackoverflow.com/questions/28270974
复制相似问题