maven报错was cached in the local repository

解决Maven插件依赖缺失:以maven-resources-plugin为例的实战指南 本文详细解析了Maven项目中常见的插件依赖缺失问题,特别是以maven-resources-plugin为例的报错解决方案。从问题根源分析到具体解决步骤,包括删除重下、检查镜像配置、强制更新插件等实用方法,并提供了预防措施和疑难排查技巧,帮助开发者高效解决Unresolved plugin等构建问题。 阅读详情

maven报错:
Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project mtsystem: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:3.2.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.aether:aether-util:jar:0.9.0.M2 in http://IP地址/repository/myself_group/ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced

重要的是:was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced

解决方案:(三选一)

1、将本地对应的Jar包仓库目录删掉,重新install生成新的。
2、命令行下使用 -U 强制抓取更新:

mvn -U clean install

在这里插入图片描述
3、在maven的setting配置文件中updatepolicy改为always
在这里插入图片描述

<profiles>
    <profile>
      ...
      <repositories>
        <repository>
          <id>nexus</id>
          <name>nexus repository</name>
          <url>http://ip:port/repository/myself_group/</url>  
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatepolicy>always</updatepolicy>
            <checksumpolicy>warn</checksumpolicy>
          </snapshots>
         </repository>
      </repositories>
      ...
    </profile>
  </profiles>

方案三选一即可,建议使用第二种,简单省事。

maven编译报错 was cached in the local repository 拉包失败 maven编译报错 was cached in the local repository 拉包失败 报错 [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.0-M3:repackage (default) on project otpweb: Execution default of goal org.springframework.boot:spring-boot-maven-plugi 阅读详情

相关推荐

关于Maven本地仓库中存在依赖时,重新下载was cached in the local repository错误

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

九师兄 1万+

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

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

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

STM32F429移植LVGL9.3.0:从源码配置到双缓冲优化实战

本文详细介绍了如何在STM32F429平台上移植LVGL 9.3.0图形库,涵盖从源码准备、工程配置、显示驱动适配到双缓冲优化等关键步骤。重点解析了利用STM32F429的硬件特性实现高效内存管理和流畅显示性能的实战技巧,为嵌入式GUI开发提供完整解决方案。

q6r7s8t9的博客 1165

工作中SVN的使用,保姆级教程!

SVN是一款集中式版本控制系统,采用客户端-服务器模式管理代码版本。与Git相比,SVN在目录权限控制、大型二进制文件处理等方面具有优势,适合特定场景使用。本文介绍了SVN的安装方法、基本操作(检出、提交、更新、回滚等)以及分支管理(创建、合并、切换)。同时讲解了文件冲突的解决方法,并演示了如何在IDEA中集成SVN工具。SVN虽然逐渐被Git取代,但在某些特定场景下仍是可靠选择,工具选择应基于团队和项目需求。

胜人者有力,自胜者强! 1881

Maven-编译报错(was cached in the local repository...)

Maven-编译报错

zym_1321的博客 1万+

10bit SAR ADC电路:200多页设计与仿真文档,附gpdk045工艺与testbench,可直接导入Virtuoso仿真,含以太网、PLL电路例程及进阶ADC

拥有超过200页的详细设计和仿真文档,它以gpdk045工艺为基础,testbench均可直接导入virtuoso仿真,为我们提供了一个全面了解ADC电路设计的绝佳机会。通过对10bit SAR ADC电路的详细解析,我们不仅了解了其设计背后的原理和实现方法,还体会到了数字与模拟技术的交融之美。这个SAR ADC的结构采用了经典的电荷重分配架构。一个10bit SAR ADC电路,有200多页详细的设计和仿真文档,附带对应的gpdk045工艺,testbench都有,可直接导入virtuoso仿真。

OMyAVKmGPBOF的博客 1347

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

Windows下用VS2022编译libcurl全流程(含openssl配置避坑指南)

本文详细介绍了在Windows平台使用Visual Studio 2022编译libcurl库的完整流程,重点解决了集成OpenSSL支持HTTPS功能时的常见配置难题。从环境准备、源码获取、依赖编译到工程配置,提供了清晰的步骤和针对非默认安装路径的避坑指南,帮助开发者高效完成网络库的集成工作。

weixin_29291185的博客 254

铝合金外壳表面处理工艺全解析:从阳极氧化到瓷泳喷涂的7种方法对比

本文全面解析了铝合金外壳的7种主流表面处理工艺,包括阳极氧化、粉末喷涂、瓷泳喷涂等。通过对比其原理、性能、成本与应用场景,为产品设计师和工程师提供了从防护性、装饰性到功能性的立体选型框架,帮助您根据具体需求选择最佳工艺方案。

weixin_29278805的博客 759

解决maven构建时报错:xxx.jar was cached in the local repository

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

gzyes 283

Python 复现AlexNet框架代码

【代码】Python 复现AlexNet框架代码。

Quintin 2426

maven项目pom.xml报错……was cached in the local repository的解决方法

今天在配置maven项目的时候,出现了pom.xml报错……was cached in the local repository的情况。 起因是我在第一次配置pom.xml之后,下载包的过程由于网络问题中断了,此时下载下来的包显然是不完整的,我干脆删除了整个项目,重新创建一个maven项目后,再去配置pom.xml,就出现了……was cached in the local repository

Levy_96的博客 1万+

【ubuntu】【VirtualBox】VirtualBox无法加载USB移动设备的解决方法(支持U盘启动盘)

提示:测试可用。

联系方式:927632640 2450

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

maven构建时报错:was cached in the local repository...

这个报错常见于 Maven 在构建过程中使用了本地仓库中已缓存的某个依赖,但该依赖可能是不完整的、损坏的或者构建失败过的版本。

Ljj_fishhG的博客 1023

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

排查maven中可以从远程下载下来jar包,但是却报错Failure to find was cached in the local repository, resolution will not

一、问题 maven打包的过程中报错如下: Failure to find cfca:backport-util-concurrent:pom:3.1 in http://maven.company.com/repository/maven-public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates

6383

TMS_WebGMaps_1.9.8.0_Full_Source

TMS_WebGMaps_1.9.8.0_Full_Source 全源码 delphi cbuilder

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

maven 构建报错 This failure was cached in the local repository and resolution is not reattempted until t

清理本地仓库:尝试清除 Maven 的本地仓库缓存,这将强制 Maven 重新下载所有依赖项。可以手动删除 Maven 本地仓库目录下的所有内容(默认情况下位于用户目录下的。这个错误通常是由于 Maven 在本地仓库中缓存了某个依赖项的失败状态,并且在一段时间内不会再次尝试解析该依赖项,除非更新间隔已过或者强制更新。检查远程仓库:如果你使用的是远程仓库,可以检查该仓库是否可用,并且其设置是否正确。检查网络连接:确保你的网络连接正常,没有被防火墙或代理服务器阻止。参数,强制更新所有依赖项,而不管缓存状态。

小诸葛的博客 1万+

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 报错 Non-resolvable parent POM ... was cached in the local repository, resolution will not be

解决 Maven 报错 Non-resolvable parent POM ... was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM   笔者使用 IntelliJ ID.

暗诺星刻的博客 6171

【Maven】Maven报错:Failure to transfer ...was cached in the local repository...

问题描述在使用公司内部的maven仓库编译项目时,由于新加入了几个依赖包,第一次编译失败了,此后在修复了公司内部maven仓库后编译项目出现错误:Failure to transfer xmlpull:xmlpull:jar:1.1.3.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, re

光阴迷客的知识库 1万+

maven 3.8.1 import 报错:This failure was cached in the local repository and resolution is not reattemp

maven踩坑系列 手动指定setting不生效

qq_31970227的博客 3189

解决maven构建时报错:was cached in the local repository...

今天使用命令mvn compile编译maven项目时提示错误信息,错误信息如下:[ERROR]Failedtoexecutegoalonproject<project_name>:Couldnotresolvedependencies forprojectcom.xxx.xxx:<project_name>:jar:1.0...

weixin_34234823的博客 1377
上一篇: git的使用note
下一篇: 解决方案:Can not issue executeUpdate() or executeLargeUpdate() for SELECTs
H_Dsheng
博客等级 码龄8年 26粉丝 40原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值