was cached in the local repository, resolution will not be reattempted until the update interval of

本文介绍了Maven在构建过程中出现的wascachedinthelocalrepository错误,并提供了两种常见解决方案:一是本地仓库未下载完整的处理方法;二是依赖仓库缺失所需jar文件时如何检查及配置代理仓库。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced ->

Maven 报错


解决办法:

1 一种可能就是本地没有下载完整,这里的原因可能第一次下载由于网络原因不成功,之后maven也没在尝试。

2 另一种情况就是我们依赖的nexus也没有下载完整,这时候可能是配置的中央仓库代理仓库根本就不存在此jar,或者需要在第三方仓库中才能找到,此时我们应该尝试检查和配置代理仓库。


参考资料:

1、Maven依赖中类似was cached in the local repository样的错误
https://blog.youkuaiyun.com/shierqu/article/details/44787025

2、was cached in the local repository, resolution will not be reattempted until
https://blog.youkuaiyun.com/zyf_balance/article/details/47171723


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值