【BUG记录】解决Failure to find (pom/jar) in http://xxx.com was cached in the local repository
【BUG记录】解决Failure to find (pom/jar) in http://xxx.com was cached in the local repository
☠注意:此解决方法仅针对作者在开发过程中遇到且解决的问题,不具有普遍性,仅供参考。
问题描述:在运行项目或maven install / deploy 过程中遇到报错:Failure to find (pom/jar) in http://xxx.com was cached in the local repository
解决步骤:
根据错误描述,进入本地仓库(repository)尝试寻找是否存在对应的jar包或pom文件。若存在剪切出到任意位置,在剪切后的路径下打开cmd窗口。
在cmd窗口中执行maven install命令。
mvn install:install-file -DgroupId=com.aliyun.oss -DartifactId=aliyun-sdk-oss -Dversion=3.4.2 -Dpackaging=pom -Dfile=aliyun-sdk-oss-3.4.2.jar
-DgroupId、-DartifactId、-Dversion对应pom.xml中的dependency。
-Dpackaging为文件的类型jar或pom等等,-Dfile为文件名。完成后回车执行。出现BuildSuccess即为构建成功。若出现BuildFailed,检查拼写是否正确。
有时会有依赖关联的情况,按照错误提示重复步骤尝试解决即可!
【BUG记录】解决Failure to find (pom/jar) in http://xxx.com was cached in the local repository相关推荐
- pom.xml中出现错误提示Failure to transfer org.jboss.weld.jar ... maven2 was cached in the local repository.
pom.xml中出现 以下错误提示: Failure to transfer org.jboss.weld:weld-core:jar:1.0.1-SP3 from https://repo.mave ...
- 解决 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 ...
- 排查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. ...
- Maven: Non-resolvable import POM:Failure to find *** in *** was cached in the local repository.
2019独角兽企业重金招聘Python工程师标准>>> clean or package spring cloud 项目时,IDE 打印如下报错: Non-resolvable im ...
- Failure to find com.rongpd:rpd:pom:1.0 in xxx was cached in the local repository, resolution will no
2019独角兽企业重金招聘Python工程师标准>>> 搞 maven install 模块的时候报错: Failure to find com.rongpd:rpd:pom:1.0 ...
- jai-core-1.1.3.jar was cached in the local repository 问题解决(maven)
jai-core-1.1.3.jar was cached in the local repository 问题解决(maven) 问题: Failure to find javax.media:ja ...
- cached in the local repository的解决办法
maven打包过程中,会经常遇到cwas cached in the local repository, resolution will not be reattempted until the ...
- Failure to find was cached in the local repository
maven 打包报错, 父工程 jar 包找不到; Failure to find XXX was cached in the local repository 到本地仓库, 找到本地打的包, ...
- This failure was cached in the local repository and resolution is not reattempted until the update i
spring-boot-2.2.9.RELEASE, mvn clean install打包报错: This failure was cached in the local repository an ...
最新文章
- 20道常见初级Java面试题
- Python决策树可视化Graphviz下载地址
- mysql sql测试_MySQL语句测试——数据查询
- Android 利用源码调试 详解TouchEvent 事件分发机制
- java 找不到工程文件_类加载器找不到文件求帮助
- 允许修改 SharePoint2010 中的电子邮件
- JavaScript---Ajax和函数回调,异步编程
- 计算机信息加工的类型及举例,3.1.2计算机信息加工的过程和类型
- 数据库学习建议之提高数据库速度的十条建议
- 计算机软件基础 一课本,计算机软件基础(-)课后习题答案.doc
- 【Flink】Flink Not all required tasks are currently running
- c语言程序设计省考是什么,省考C语言程序设计题附答案..doc
- [Oracle] 日期处理
- idea安装drl插件
- network location awareness 错误
- 遗传算法求解立体仓库货位优化
- coreldraw x7如何禁网_出现问题如何修改和修复安装coreldraw x7
- 京东咚咚架构演讲读后感
- health_parent的linux环境
- 微信抢红包的方案_微信抢红包怎样才能抢到最大的告诉你一个方法