标签:eclipse maven 失败 archetype maven-metadata.xml 代理
错误:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.
Could not resolve artifact org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE
Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\Administrator\.m2\repository)
Failed to resolve version for org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-quickstart/maven-metadata.xml in local (C:\Users\Administrator\.m2\repository)
解决办法:
如果C:\Users\Administrator\.m2\路径下没有settings.xml则拷贝D:\apache-maven-3.2.5\conf中的settings.xml到此目录。
将settings.xml的<proxy>相应信息改为自己的代理。
重新启动eclipse
完成
本文出自 “ssh学习笔记” 博客,请务必保留此出处http://3544011.blog.51cto.com/3534011/1621261
标签:eclipse maven 失败 archetype maven-metadata.xml 代理
原文地址:http://3544011.blog.51cto.com/3534011/1621261