首页 > 系统服务 > 详细

eclipse could not resolve archetype xxxxxxx from any of the configured repositories

时间:2015-06-04 20:44:10      阅读:1620      评论:0      收藏:0      [点我收藏+]

错误提示

Eclipse中通过Archetype创建Maven项目时报错:Could not resolve archetype xxxxxxx from any of the configured repositories

技术分享


技术分享

 

 

解决方法

Maven安装目录/conf/settings.xml文件的<settings>元素里加入第三方的仓库镜像(这里用了lbiblio仓库)。

<settings>
  <mirrors>
      <!-- mirror
       | Specifies a repository mirror site to use instead of a given repository. The repository that
       | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
       | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
       -->
       <mirror> 
          <id>ibiblio.org</id> 
          <name>ibiblio Mirror of http://repo1.maven.org/maven2/</name> 
          <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url> 
          <mirrorOf>central</mirrorOf> 
       </mirror> 
    </mirrors>
......
</settings>

 

eclipse could not resolve archetype xxxxxxx from any of the configured repositories

原文:http://www.cnblogs.com/pixy/p/4552767.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!