maven工程创建失败Failed to resolve version for,Could not find metadata

1、问题

 

 

 

 

2、若重启失败,则给maven运行时添加一下参数:-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true,我的默认为:-DarchetypeCatalog=internal

参数参考来源:https://www.cnblogs.com/shwang/p/12090894.html

 

eg:maven 添加打印运行信息

maven/mvn -U clean compile install -e -X -Dmaven.test.skip=true

2、第二种处理方式:进入maven\bin目录,打开cmd,cd要处理的项目路径,mvn回车

 

posted @ 2020-03-05 17:27  coolSome  阅读(1377)  评论(0编辑  收藏  举报