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

【Maven】maven项目疑难杂症之Failure to transfer 【Maven】maven项目疑难杂症之Failure to transfer的解决办法 阅读详情

报错

[ERROR] Failed to execute goal on project xxx: Could not resolve dependencies for project xxx:Failure to find xxx.jar in public repository was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced ->[Help 1]

原因 本地仓库有,但是远程仓库没有。

解决方式: 删除本地maven仓库中对应jar包目录下的 _remote.repositories 文件, 不去从远程仓库更新。
在这里插入图片描述

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

相关推荐

出现 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

码农研究僧的博客 6306

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万+

ESP32 Arduino学习篇 (一) 引脚和串口的基本使用

简单来讲arduino就是通过源代码控制开发板的信号输入输出从而实现对一些电子元件的控制,例如LED灯,蜂鸣器,按键arduino程序首先来讲arduino程序是基于C语言,而实现类似对于LED灯和蜂鸣器的简单控制只需简单C语言知识即可实现。arduino程序是基于函数的,而在arduino的库有很多函数,我们只需要调用即可。arduino的程序主体是**setup()函数和loop()**函数以及其它在使用过程中需要构建的函数:setup()函数。

DOF526570的博客 1万+

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 一种可能就是本地没有下载完整,这里的原因可能第一次下载由...

HeatDeath的博客 1万+

Marin说PCB之LPDDR5的布线注意事项--01

以上就是本期所有内容了,有些是通用的LPDDR5的设计准则,有的是针对单板的设计规则,严格意义说是没有哪一种规则是完全适用的LPDDR5的 通用规则的,不同的单板可能板厚,板材,层数,SOC以及DDR的型号都是不同的,一般的做法就是严格按照SOC手册上的LPDDR5的要求加上仿真同事给的建议修改优化就好了,我们下期文章不见不散。我们知道想要做好一个LPDDR颗粒,需要考虑的是因素有很多例如,电源完整性,信号完整性,层叠的设计,布局的摆放,布线的合理规划,去耦电容的摆放等等。

weixin_45223454的博客 3184

数据仓库实践:从ITR流程讲指标体系建设

从 ITR 流程或者其他客服反馈流程的考核过程可见,实际工作中不可能只通过单个指标评价一个业务过程,需要从多个维度梳理业务,并把多个高度相关的指标组织起来,以避免只考虑其中某个指标从而摧毁整个业务过程的结果,指标体系=指标+体系。

the_singing_towers的博客 2282

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万+

ASPICE标准快速掌握「1.1. 简介」

ASPICE是汽车软件过程改进能力模型(Automotive SPICE,Automotive - Software Process Improvement and Capability dEtermination)的缩写,是一种针对汽车软件开发过程的国际标准。该标准旨在帮助汽车制造商和供应商改进其软件开发过程,以确保其软件产品的质量和安全性。需要做什么为什么要做技术上的依赖性是什么。

雪云飞星的博客 2314

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

问题 在Idea中使用maven将springboot项目打成jar包(使用idea- maven projects->具体项目->package命令 ),报错如下: 在网上找到解决办法如下:特此记录. 解决办法 1.删除~/.m2/repository/对应目录或目录下的*.lastUpdated文件,然后再次运行maven命令(经验证有用) 2.maven命令后加-U,如mvn ...

Ryze 2万+

基于STM32与FPGA的数据采集系统的设计与实现

数据采集系统在现代工程中起着至关重要的作用,用于实时获取和处理各种传感器或外部设备的数据。在本文中,我们将探讨如何基于STM32微控制器和FPGA(现场可编程门阵列)实现一个高效的数据采集系统。我们可以使用STM32的UART、SPI或I2C接口与各种传感器或外部设备进行通信,并通过GPIO口实现控制功能。在硬件连接完成后,我们可以通过STM32控制FPGA的配置和数据传输。STM32作为主控单元负责与外部设备进行通信和数据处理,而FPGA则用于高速数据采集和实时处理。具体的通信协议取决于连接的设备类型。

UbiSqlserver的博客 1805

【北大核心-代码复现】基于 VMD-FFCM-iTransformer 光伏功率短期预测

【北大核心-代码复现】基于 VMD-FFCM-iTransformer 光伏功率短期预测

777

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

【Unity】NGUI下载与导入

Unity3D插件NGUI的下载和导入。

Get your hands dirty 3万+

Maven异常:was cached in the local repository, resolution will not be reattempted until the update

mvn打包时遇到异常,使用 -X 参数输出详细的日志(mvn -X package),异常信息如下: Failure to find cn.com.xxx... in <a href='https://maven.aliyun.com/repository/public'>https://maven.aliyun.com/repository/public</a> was cached in the local repository, resolution will not be r

Markix的博客 6678

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

Maven经典错误之三:was cached in the local repository, resolution will not be reattempted until the upda

常见错误: Multiple annotations found at this line: - No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (D:\Maven_3\maven\m2\repos

漫天雪_昆仑巅 8万+

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

Maven错误(大坑):was cached in the local repository, resolution will not be reattempted until the update

主要问题: 解决办法: 第一种情况: 我主要是在远程库拉下来一直有问题,拉下来了但是存在.lastupdate文件。我是将jar单独保存起来,清空本地仓库jar对应的文件夹,然后通过maven命令,将jar包放入本地仓库的, 命令如下。 mvn install:install-file -Dfile=E:\softwares\zookeeper-3.4.10\zookeeper-3.4.10.j...

fsdf8sad7的博客 1万+

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

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

https://blog.csdn.net/xl890727/article/details/53942452 转载于:https://www.cnblogs.com/gcgc/p/10807805.html

weixin_30621919的博客 164

maven问题与解决方案、部署

此时本地是有的,但远程仓库是没有的,此时,我们可以 尝试在本地进行cmd的安装,即可。

zyzn1425077119的博客 1091

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万+
上一篇: Java IO ObjectInputStream 与 ObjectOutputStream
下一篇: Java判断一个字符是否是中文 以及 判断一个字符串是否包含中文
i余数
博客等级 码龄13年 3226粉丝 136原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

i余数

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值