myeclipse maven 使用出现的错误 :Could not resolve archetype

来源:互联网 发布:msdb数据库下载 编辑:程序博客网 时间:2024/05/17 22:43
<span style="font-size:18px;">Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories.  Could not resolve artifact    Missing org.apache.maven.archetypes:maven-archetype-quickstart:pom:RELEASE</span>

在使用maven的时候,我们自定义了仓库的地址,就会报找个错,这个错误很明显,就是setting的配置中,找不到仓库:


这个是maven的conf的文件夹,在开始的时候应该没有其他内容的,就有一个setting.xml和log文件夹,这个问题就是我们的setting的配置有问题:


就是将localRepository标签的内容更换成maven的内容即可

0 0
原创粉丝点击