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

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.csdn.net/shierqu/article/details/44787025

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


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在你提供的引用中,它们都提到了一个错误消息"resolution will not be reattempted until the update interval of XXX has elapsed or updates are forced",其中XXX可能是指central或alimaven。该错误消息表示在更新时间间隔(update interval)已经过去或者强制更新之前,解析(resolution)不会再次尝试。这个错误通常与Maven构建和依赖管理工具有关。 对于解决"resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced"的方法,可以尝试以下几个步骤: 1. 首先,检查你的Maven设置和配置是否正确。确保配置文件中的远程仓库地址和更新间隔都正确无误。 2. 确认你的网络连接正常,并且能够访问到远程仓库。有时候,网络问题可能导致无法下载所需的依赖项。 3. 清除本地Maven仓库中的缓存。你可以删除~/.m2/repository目录下的相关缓存文件,然后重新构建项目,让Maven重新下载所需的依赖项。 4. 如果以上步骤都没有解决问题,你可以考虑检查你的项目配置文件中的依赖项是否正确,并且没有错误的版本或坐标信息。确保项目的pom.xml文件中的依赖项配置正确无误。 总之,解决"resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced"的方法包括检查Maven配置、网络连接、清除本地仓库缓存以及确认项目配置文件中的依赖项设置。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [resolution will not be reattempted until the update interval of XXX has elapsed or updates are force](https://blog.csdn.net/u013066244/article/details/91986308)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [plexus相关jar包](https://download.csdn.net/download/gao36951/8804939)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [maven--解决was cached in the local repository, resolution will not be reattempted until the update](https://blog.csdn.net/feiying0canglang/article/details/125673756)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值