解决idea创建maven工程Archetype not found in any catalog

创建maven工程时出现了如图报错。Archetype not found in any catalog. Falling back to central repositoty. Add a repository with id ‘archetype’ in your settings.xml.
在这里插入图片描述

解决方法

这是因为本地仓库没用settings.xml

  • 把conf下的settings.xml复制一份到本地仓库文件夹下(如图文件夹)
    在这里插入图片描述
  • 重新导一遍即可

特此记录。

原创文章 27 获赞 56 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_46233323/article/details/104915849