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: Failure to find com.xxx.xxx:obj-test-client:jar:1.1.1
in http://maven-nexus.xxx.com/repository/maven-public/ was cached in the local repository, resolution 
will not be reattempted until the update interval of fintech has elapsed or updates are forced -> [Help 1]

问题原因 :
Maven默认会使用本地缓存的库来编译工程,对于上次下载失败的库,maven会在~/.m2/repository/<group>/<artifact>/<version>/目录下创建xxx.lastUpdated文件,一旦这个文件存在,那么在直到下一次nexus更新之前都不会更新这个依赖库。

解决办法:

删除v~/.m2/repository/<group>/<artifact>/<version>/目录下的*.lastUpdated文件,然后再次运行mvn compile编译工程。

Jenkins构建时报错:

通过jenkins编译时报此错,我的maven安装目录/opt/maven ,解决方法如下:

发现obj-test-client-1.1.1.jar下载到本地时失败,从提示可知是本地仓库的缓存(cached)造成,于是我删除目录/opt/maven/repo/<group>/obj-test-client/1.1.1后Jenkins重新构建(或在项目目录 mvn 重新编译)即可编译成功! 

注意你要确定远程仓库中存在此jar(obj-test-client-1.1.1.jar)包 

转载于:https://www.cnblogs.com/Dev0ps/p/10607611.html

Python爬取公交线路信息及站点shp数据 文末附数据下载地址 三、现在已经获取到了各个线路名称、链接,以及所途径的上下行站点,那么接下来就应该对开始对第三页url进行信息采集,即本次爬虫的最终目的:爬取所有站点的GPS坐标数据。但坑就坑在,二环一号线属于环线,所以只有左侧有站点数据,而其他非环线车次的站点数据分有上下行,如果用正则匹配,则分不清楚到底哪些是上行站点哪些是下行站点。以前爬过百度地图,当时用的是API平台,加上网站比较规范,所以标签节点什么的都比较清晰,但这次由于特殊原因所选择的网站为公交网,废话不多说直接开始吧。checi=二环一号线。 阅读详情

相关推荐

Chroma向量数据库实战:用Python快速搭建本地知识库(附中文诗词检索案例)

本文详细介绍了如何使用Chroma向量数据库和Python快速搭建本地知识库,并附有中文诗词检索的实战案例。通过解析核心概念、数据准备、向量化及智能检索实现,展示了Chroma在处理中文语义搜索时的轻量级与易用性,为开发者构建AI应用原型提供了实用指南。

weixin_29221753的博客 485

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

如何使用AutoDl平台跑自己的模型(纯干货,步骤很详细)

记录我使用AutoDL云服务器来跑自己模型的全过程

qq_45073592的博客 3万+

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 -&gt; Maven 报错 解决办法: 1 一种可能就是本地没有下载完整,这里的原因可能第一次下载由...

HeatDeath的博客 1万+

手把手教你用Arduino Uno控制meArm机械臂(附完整代码+避坑指南)

本文提供了一份详尽的meArm机械臂控制指南,涵盖从Arduino Uno硬件连接到Servo库编程的完整流程。重点讲解了如何通过独立供电、软件限位和平滑运动函数实现稳定控制,并设计了串口指令协议与高级功能,帮助创客有效规避舵机抖动、电源不足等常见问题,让机械臂运行更流畅可靠。

gpt4scribbler的博客 549

Office Tool Plus:正版Office干净部署指南

Office部署是Windows新机配置的关键环节,涉及版本选择、架构匹配、语言支持与合规激活等基础技术问题。其核心原理基于微软官方Office Deployment Tool(ODT)的声明式XML配置机制,通过标准化流程确保安装可复现、可审计、无第三方捆绑。技术价值在于规避官网安装器的版本锁定、架构误配和语言缺失等常见风险,提升部署稳定性与安全性。典型应用场景包括企业批量部署、IT运维标准化、隐私敏感型用户自主安装。本文以Office Tool Plus为实践载体,深入解析ODT底层逻辑、XML配置规范

1242

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

逐飞vs龙邱:英飞凌miniwiggler仿真器硬件接口差异全解析(附拆机对比图)

本文通过拆解对比逐飞与龙邱两家厂商的英飞凌miniwiggler仿真器,详细解析了其硬件接口的核心差异。重点分析了Type-C接口的取舍、DAP调试协议(SWD)的支持、电源设计(跳线帽vs拨码开关)以及工艺用料,为嵌入式开发者与智能车竞赛选手提供了清晰的选型参考和实际应用建议。

weixin_29189003的博客 122

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

[QMT量化交易小白入门]-二、如何用miniQMT获取沪深A股的板块列表、历史行情数据和实时行情数据

本专栏主要是介绍QMT的基础用法,常见函数,写策略的方法,也会分享一些量化交易的思路,大概会写100篇左右。QMT的相关资料较少,在使用过程中不断的摸索,遇到了一些问题,记录下来和大家一起沟通,共同进步,自己淋过雨了,希望大家都有一把伞。

木头大左的博客 5686

【100%通过率】华为od机试C卷【出差 / 员工派遣】C++ 实现

某公司部门需要派遣员工去国外做项目。现在,代号为 x 的国家和代号为 y 的国家分别需要 cntx 名和 cnty 名员工部门每个员工有一个员工号 (1,2,3,......),工号连续,从 1开始。部长派遣员工的规则:

MISAYAONE的博客 2206

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

AD-Copilot 论文解读:把“大模型看图”升级为“对照检验”的工业异常检测助手

本文提出AD-Copilot,一个面向工业异常检测的视觉语言助手,通过视觉上下文比较解决现有方法的不足。针对工业场景中多模态大模型表现不佳的问题,作者指出核心原因在于缺乏工业数据和比较能力不足。为此,论文提出三个关键贡献:构建Chat-AD数据集,设计Comparison Encoder显式建模图像差异,以及采用多阶段训练策略。实验表明,该方法在MMAD基准上达到82.29%准确率,定位任务提升3.35倍,并展现出良好的泛化能力。消融实验验证了比较模块的有效性,表明其成功源于高质量比较数据与显式比较模块的协

blanokvaffy的博客 341

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

全球国家地区城市数据

MySQL全球国家地区城市数据报。。。。。。。。。。。。

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

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

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

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

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

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

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

报错 [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 el

i余数的博客 2452
上一篇: 微服务之配置中心ConfigKeeper
下一篇: C#基础 类、结构、抽象类、接口的相关概念
weixin_30726161
博客等级 码龄11年 116粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值