【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

解决步骤:

  1. 根据错误描述,进入本地仓库(repository)尝试寻找是否存在对应的jar包或pom文件。若存在剪切出到任意位置,在剪切后的路径下打开cmd窗口。

  2. 在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为文件名。

  3. 完成后回车执行。出现BuildSuccess即为构建成功。若出现BuildFailed,检查拼写是否正确。

    有时会有依赖关联的情况,按照错误提示重复步骤尝试解决即可!

【BUG记录】解决Failure to find (pom/jar) in http://xxx.com was cached in the local repository相关推荐

  1. 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 ...

  2. 解决 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 ...

  3. 排查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. ...

  4. 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 ...

  5. 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 ...

  6. 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 ...

  7. cached in the local repository的解决办法

      maven打包过程中,会经常遇到cwas cached in the local repository, resolution will not be reattempted until the ...

  8. Failure to find was cached in the local repository

    maven 打包报错, 父工程 jar 包找不到; Failure to find  XXX  was cached in the local repository 到本地仓库,  找到本地打的包, ...

  9. 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 ...

最新文章

  1. 20道常见初级Java面试题
  2. Python决策树可视化Graphviz下载地址
  3. mysql sql测试_MySQL语句测试——数据查询
  4. Android 利用源码调试 详解TouchEvent 事件分发机制
  5. java 找不到工程文件_类加载器找不到文件求帮助
  6. 允许修改 SharePoint2010 中的电子邮件
  7. JavaScript---Ajax和函数回调,异步编程
  8. 计算机信息加工的类型及举例,3.1.2计算机信息加工的过程和类型
  9. 数据库学习建议之提高数据库速度的十条建议
  10. 计算机软件基础 一课本,计算机软件基础(-)课后习题答案.doc
  11. 【Flink】Flink Not all required tasks are currently running
  12. c语言程序设计省考是什么,省考C语言程序设计题附答案..doc
  13. [Oracle] 日期处理
  14. idea安装drl插件
  15. network location awareness 错误
  16. 遗传算法求解立体仓库货位优化
  17. coreldraw x7如何禁网_出现问题如何修改和修复安装coreldraw x7
  18. 京东咚咚架构演讲读后感
  19. health_parent的linux环境
  20. 微信抢红包的方案_微信抢红包怎样才能抢到最大的告诉你一个方法

热门文章

  1. box-shadow无效果
  2. commons-email邮件工具类的基本使用
  3. 乌镇AI论坛最全盘点:中国互联网半壁江山坐在了一起,他们怎么看AI
  4. 在科研路上,大家有什么经验教训?
  5. jsliang 2020 求职系列
  6. 如何用WxJump成功解决生成在微信可用的网址二维码的API接口
  7. 通信工程专业考研考c语言吗,通信工程专业考研考什么
  8. 谢孟媛老师英语拼读03(附我备注)
  9. mysql 查询不重复的值_在 MySQL 中查询不重复记录值的方法
  10. 马太效应(Matthew effect) 强者愈强 弱者愈弱