maven install报错如下:(文章中的xxx指的是你的jar名字)

Failed to execute goal on project xxxx: Could not resolve dependencies for project xxxx:war:1.0.0: Failed to collect dependencies at xxxxxx:jar:1.2.0: Failed to read artifact descriptor for xxx:xxxx:jar:1.2.0: Failure to find xxx:2.0.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of ali has elapsed or updates are forced -> [Help 1]

解决办法:

找到本地仓库jar对应的目录,修改_remote.repositories文件里的xxx.pom>=为xxx.pom>nexus=

 

 

 

posted on 2020-08-11 15:52  猫饼郎中  阅读(1993)  评论(0编辑  收藏  举报