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

关于Maven本地仓库中存在依赖时,重新下载was cached in the local repository错误 1. 本地已存在jar 项目中的一些依赖由于需要手动添加,很多时候都会创建一个私服仓库,比如nexus,将第三方jar添加到私服中,然后在pom中引用。如今朋友拿来一个项目,该项目之前下过依赖,这些依赖本地依旧存在,如今重新导入该项目,由于没了私服,于是删去私服地址后,执行mvn package后项目会重新到配置的仓库中找这些依赖下载。此时会报错"was cached in the local r... 阅读详情
AI摘要

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

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


出现 This failure was cached in the local repository and resolution is not reattempted until 解决方法(万能) cn.iocoder.boot:yudao-dependencies:pom:2.0.1-jdk8-snapshot was not found in https://maven.aliyun.com/repository/public during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of 阅读详情

相关推荐

基于多时间尺度的电动汽车光伏充电站联合分层优化调度(Matlab代码实现)

该研究提出了一种电动汽车光伏充电站的分层优化调度方法,采用日前-日内两阶段协同优化框架。日前阶段通过混合整数规划对多充电站进行全局优化,以平抑电网波动和降低购电成本为目标;日内阶段基于实时数据,采用NSGA-II等算法动态分配充电功率。该方法实现了光伏高效消纳、成本节约和电网负荷平衡的有效统一。

zhangxd212489的博客 525

maven--解决was cached in the local repository, resolution will not be reattempted until the update

本文介绍解决was cached in the local repository, resolution will not be reattempted until the update ...的方法。

IT利刃出鞘的博客 13万+

思岚A1 上手教程

前言 寒假在家闲着也是闲着,索性就向是实验室借了一个思岚 A1激光雷达,来进一步完成自己的实验室实习项目。经过一个月在Linux上和ROS上的摸爬滚打,我已经对机器人开发和SLAM有了初步了解,现在就写个上手教程吧(以防自己以后忘了)。 Basic Support 硬件 一台电脑 思岚 A1激光雷达 软件 安装Virtual Box虚拟机 在虚拟机安装Ubuntu 16操作系统 在Ubuntu 16搭建ROS kinetic 简要步骤 1.现在w..

ajxdhe的博客 6397

Idea Maven错误:was cached in the local repository, resolution will not be reattempted until the update

问题及原因 为了学习SpringBoot源码,springboot项目从2.4.5 更改为2.2.1.RELEASE,发现总是无法找到依赖,一开始以为是阿里云上没有这个jar,然后访问阿里云maven仓库发现是存在的,在maven project上点击reimport也无效,于是怀疑是idea的问题,之前maven down源码就出现过无法下载的问题,于是通过Terminal执行mvn compile也不行,但是看到报错原因了 was cached in the local repository, r

jcpp9527的博客 5万+

HIDL概述

HIDL背景 Treble 是 Google Android 团队的一项重大项目,意在 Android 操作系统框架在架构方面的一项重大改变,旨在让制造商以更低的成本更轻松、更快速地将设备更新到新版 Android 系统。Android 7.x 及更早版本中没有正式的供应商接口,因此设备制造商必须更新大量 Android 代码才能将设备更新到新版 Android 系统: 图1 Treble ...

u013357557的专栏 2万+

【全覆盖算法】栅格地图实现布氏单元分解算法+栅格地图实现牛耕Boustrophedon Cellular Decomposition Path Planning

本文先对做个简单的介绍,具体内容后续再更,其他模块可以参考去我其他文章提示:以下是本篇文章正文内容。

qq_35635374的博客 289

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

was cached in the local repository, resolution will not be reattempted until的解决方法是 把出现该错误的依赖从本地库删除, 然后重新maven->update project 出现该错误时有时会同时提示其它依赖也找不到, 只要解决该问题其它错误提示会一并消失

yf.z的专栏 3万+

小白也能轻松部署 OpenClaw:OpenClaw可视化部署工具+OpenClaw可视化管理工具分享

分享一个OpenClaw可视化一键部署工具,帮你快速打造属于自己的AI助手 🚀

XiaoqiangClub的博客 6741

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

今天使用命令mvn compile编译maven项目时提示错误信息,错误信息如下: [ERROR] Failed to execute goal on project <project_name>: Could not resolve dependencies for project com.xxx.xxx:<project_name>:jar:1.0.7: Fa...

weixin_30726161的博客 438

8、音频运行时系统的架构设计

本文深入探讨了音频运行时系统的分层设计及其优势,包括逻辑层和物理层的功能划分。通过分层设计,开发者可以更轻松地管理和优化音频资源,确保其在不同平台上的高效运行。文章还介绍了平台适配与优化、错误处理与调试以及未来发展方向等内容,为开发者提供了宝贵的参考和指导。

juice的博客 471

VS2019编译配置Easy3D

VS2019编译配置Easy3D

dayuhaitang1的博客 2607

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

ailed to collect dependencies at com.eshore:common:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for com.eshore:common:jar:0.0.1-SNAPSHOT: Failure to find com.eshore:ismp:pom:0.0.1-SNAPSHOT i...

weixin_30314793的博客 1511

STM32电机PID速度控制

2.3 STM32电机PID速度控制 之前的文章,完成了直流减速电机的PWM控制、电机测速。本篇文章,将实现电机的速度闭环控制。 在公众号:小白学移动机器人,发送:速度PID,即可获得本篇文章的STM32工程文件以及相关资料。 2.3.1 解决的问题 解决带编码器直流电机的速度闭环问题。 2.3.2 PID理论 将偏差的比例、积分、微分,通过线性组合构成控制量,用控制量对被控对象进行控制,这样的控制器称为PID控制器。在连续空间中,我们通常探讨模拟PID的控制原理,如图所示: 我们这里用电机速度控制为例,

「小白学移动机器人」一个专注分享移动机器人相关知识的公众号! 6万+

maven报错was cached in the local repository, resolution will not be reattempted until the update inter

maven 打包时报错如下: [ERROR] Failed to execute goal on project XXX-file: Could not resolve dependencies for project cn.XXXX-file:jar:3.7.1-SNAPSHOT: The following artifacts could not be resolved: cn.XXXX:jar:1.0.0, XXXX-mcloud:jar:1.0.3: Failure to find cn.xxx.

技术博客 1919

大中型超市收银系统(可直接运行)

光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

Maven 构建失败--was cached in the local repository, resolution will not be reattempted until the update

问题来源 使用Maven构建项目时, 执行编译或者打包,报错误 was cached in the local repository, resolution will not be reattempted until the update interval of 发现是无法下载对应的依赖包。 解决方案 1, 到自己的.m2 文件夹或者执行的maven路径下把 xxx.lastUpdated文件全部...

russle的专栏 4万+

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

Maven构建报错:was cached in the local repository, resolution will not be reattempted until the update in

构建时报错信息如下: 在这里插入代码片 > [ERROR] Failed to execute goal on project vfactory: Could not resolve dependencies > for project com.nan:vfactory:jar:1.0.0: Failure to find javax.annotation:javax.annotation- > api:jar:1.3.2 in http://maven.aliyun.com/nexu

wolverine1999的博客 3572

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

上一篇: Mybatis中的 ${ } 和 #{ }的区别
下一篇: MySQL 1248 - Every derived table must have its own alias 的解决办法
HeatDeath
博客等级 码龄11年 906粉丝 924原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值