重装了eclipse4.3自带m2e,配置了本地maven,倒入原来的maven项目
pom.xml报错了
Failure to transfer org.apache.maven:maven-archiver:pom:2.4.1 from http://10.200.1.253:8080/nexus/content/groups/groupid was cached in the local repository, resolution will not be reattempted until the update interval of groupid has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-archiver:pom:2.4.1 from/to groupid (http://10.200.1.253:8080/nexus/content/groups/groupid): java.net.ConnectException: connection timed out to http://10.200.1.253:8080/nexus/content/groups/groupid/org/apache/maven/maven-archiver/2.4.1/maven-archiver-2.4.1.pom
“http://10.200.1.253:8080/nexus/content/groups/groupid”是我的私服仓库,这个链接用IE能访问
报的错是怎么回事?
新建maven工程,提示:
Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-webapp:RELEASE]
http://hi.baidu.com/danghj/item/8a18ed9984ed6588581461af
可以使用 $mvn archetype:generate -DarchetypeCatalog=internal archetypeCatalog表示插件使用的archetype元数据,默认值为remote,local,即中央仓库archetype元数据 (http://repo1.maven.org/maven2/archetype-catalog.xml)加上插件内置元数据的和 由于中央仓库的archetype太多,导致这个列表太长 因此自己指定仅用内置元数据(20个左右,好像),就可以解决你的烦恼了 ######没懂,我需要改什么?######没懂啊 我原来的eclipse都没问题
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。