有时候在构建maven项目时,archetype加载不出来,一直在Retrieving archetype...,现象如下:

如何解决maven archetype加载太慢的方法

 

有两种解决方法:

  ①点击链接下载:https://files.cnblogs.com/files/hujinshui/archetype-catalog.zip

  ②在浏览器上访问http://repo1.maven.org/maven2/archetype-catalog.xml把页面上的源码复制出来,命名为xxxxx.xml文件,然后将xml文件引入eclipse,如下图:

如何解决maven archetype加载太慢的方法

 

最后,选择你添加的archetype文件:

如何解决maven archetype加载太慢的方法

是不是感觉比以前快了好几倍呢,哈哈!

 

相关文章:

  • 2021-04-17
  • 2022-02-08
  • 2021-11-21
  • 2021-05-08
  • 2021-04-13
猜你喜欢
  • 2021-06-21
  • 2022-03-04
  • 2022-01-07
  • 2021-04-25
  • 2022-01-17
  • 2021-06-29
  • 2021-10-02
相关资源
相似解决方案