Maven 报错: Failure to transfer classworlds:classworlds:pom:1.1-alpha-2 from

详细错误:
Failure to transfer classworlds:classworlds:pom:1.1-alpha-2 from http://localhost:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced. Original error: Could not transfer artifact classworlds:classworlds:pom:1.1-alpha-2 from/to nexus (http://localhost:8081/nexus/content/groups/public): Connection refused: no further information to http://localhost:8081/nexus/content/groups/public/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom pom.xml /personalSpace line 1 Maven Configuration Problem

解释:
大概意思是,在缓存本地仓库中没有找到插件classworlds-1.1-alpha-2.pom,在没有解决这个问题之前,是不会去从Nexus代理的中央仓库上去执行更新下载。
我们到本地仓库看/classworlds/classworlds/1.1-alpha-2/目录情况:
这里写图片描述
看到这个目录下,没有我们需要的文件,怎么办?
解决方案:
删除/classworlds目录,再执行POM的update即可。

问题解决!
这里写图片描述

  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值