原文:maven项目编译报错was cached in the local repository, resolution will not be reattempte

报错内容如下: was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced 解决方案:去该compile项目的pom.xml下检查是否有重复的依赖存在,若重复,删掉一个即可 ...

2021-12-22 17:38 0 2424 推荐指数:

查看详情

maven编译项目时提示:cached in the local repository

1.今天使用命令mvn compile编译maven项目时提示错误信息,部分错误信息如下: 发现wsdl4j-1.6.3.jar下载到本地时失败,从提示可知是本地仓库的缓存(cached)造成。我们找到maven的仓库目录,找到该jar的下载目录。找到 ...

Fri Nov 04 05:31:00 CST 2016 0 2202
解决maven构建时报错:xxx.jar was cached in the local repository

近日,apache log4j2爆出“核弹级”远程代码执行漏洞。公司相关系统也在升级log4j版本。 过程中遇到一个问题,本地代码通过maven clean install命令执行后的程序包里已经没有log4j旧版本的依赖了,可是呢,测试环境通过Jenkins构建后,利用log4shell ...

Sun Dec 19 05:31:00 CST 2021 0 1695
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM