前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家。点击跳转到教程。

Could not resolve dependencies for project com.foreveross:gaei-syncpm:jar:0.0.1-SNAPSHOT:
 Failure to find com.oracle.jdbc:ojdbc7:jar:11.2.0.4 in https://repo.maven.apache.org/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of central has elapsed or updates are forced
大体意思是jar包没有下载完整,不过也要分两种情况:
1.  可能就是本地没有下载完整,这里的原因可能第一次下载由于网络原因不成功,之后maven也没在尝试。
将本地Maven仓库中已下载的相关依赖 Jar 删掉,从新 build update 工程即可!
引用
This is often a false positive. Imagine you have a connection issue lasting only 5 seconds when Maven 3 tries to download a dependency, it will mark this dependency as unavailable for a delay. And thus will prevent you from replaying the build command even if the network issue is fixed. 
Just run the command with the -U option. Even if its description applies to snapshots, it seems to also fix the error if it occurred on a release. 
Example: mvn -U clean package
此外,我们可以在setting.xml中增加updatePolicy策略
setting.xml指导
http://maven.apache.org/ref/3.3.1/maven-settings/settings.html
在setting.xml的schema中有这样一个描述
schema
http://maven.apache.org/xsd/settings-1.0.0.xsd
2.  另一种情况就是我们依赖的nexus也没有下载完整,这时候可能是配置的中央仓库代理仓库根本就不存在此jar,或者需要在第三方仓库中才能找到,此时我们应该尝试检查和配置代理仓库。

转自:https://blog.csdn.net/vtopqx/article/details/73457539

https://blog.csdn.net/shierqu/article/details/44787025

git 报错:was cached in the local repository, resolution will not be reattempted until the upda相关推荐

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

  2. cached in the local repository, resolution will not be reattempted until the update interval of RIIL

    maven更新项目的时候,在还没有下载完成就终止了,第二次从本地导入项目的时候,pom文件报错,提示说是cached in the local repository, resolution will ...

  3. Maven was cached in the local repository, resolution will not be reattempted until the update interv

    问题描述 在使用公司内部的maven仓库编译项目时,由于新加入了几个依赖包,第一次编译失败了,此后在修复了公司内部maven仓库后编译项目出现错误 was cached in the local re ...

  4. was cached in the local repository, resolution will not be reattempted until the update interval

    使用maven构建项目时,报如上错误. 原因 Maven默认会使用本地缓存的库来编译工程,对于上次下载失败的库,maven会在本地仓库包对应的目录下创建xxx.lastUpdated文件,一旦这个文件 ...

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

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

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

  8. git 报错:remote: Not Found fatal: repository ‘http://xxx/xxx.git/‘ not found

    开始安装了git之后,使用的是同事的账号密码进行远程仓库使用演示.然后自己使用新账号密码,新增项目push代码到远程仓库,发现在pull的时候一直报错,git命令提示remote: Not Found ...

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

    文章目录 1. 本地已存在jar 2. 本地已存在jar,远程不存在 3.第三种情况 1. 本地已存在jar 项目中的一些依赖由于需要手动添加,很多时候都会创建一个私服仓库,比如nexus,将第三方j ...

最新文章

  1. 斜杆和反斜杠在不同系统的区别
  2. Linux开关机时长查看
  3. 一种怪异的节点删除方式
  4. Sublime Text提示Unable to download XXX. Please view the console for more details安装插件失败解决(转)
  5. android+rom+bootloader+flash,Android ROM开发(4) bootloader 三种启动模式
  6. 【HDU - 1216 】Assistance Required (模拟,类似素数打表,不是素数问题!)
  7. Python类中公开方法、私有方法和特殊方法的继承原理
  8. 项目1:交换机后台管理程序(待续1……)
  9. 【前端应该知道的那些事儿】运动学基础
  10. Codeforces Round #568 (Div. 2)网卡垫底记
  11. 基于RS485通讯总线的ModbusRtu协议 上位机项目源代码
  12. 目标检测综述(一:历史由来和古典目标检测的出现)
  13. 打印时候复选框勾选不见了_请取消勾选逐份打印复选框
  14. 求两个列表的交集、并集和补集
  15. Keil出现“File has been changed outside the editor, reload?”提示
  16. 网络 DMZ 区和网络安全等级简介
  17. 数学思想:4、数学归纳法
  18. python怎么解压rar文件_Python解压 rar、zip、tar文件的方法
  19. hdu 6706 huntian oy 杜教筛
  20. 视频截取动图怎么做?分享在线视频转gif小窍门

热门文章

  1. 一步步编写操作系统 40 内存分页下用户程序与操作系统的关系
  2. Struts1工作原理
  3. android 按下缩小效果松开恢复_Android自定义ScrollView实现放大回弹效果
  4. oracle更新数据没反应,ORACLE更新数据时如果有就更新没有就插入
  5. REVERSE-PRACTICE-BUUCTF-8
  6. 【爱心代码大全】——情人节表白代码送给她属于我们程序员的浪漫
  7. a*算法的优缺点_K-近邻算法以及案例
  8. 【Codeforces - 127D】Password(思维,二分+字符串Hash)
  9. 【POJ - 2378】Tree Cutting(树形dp,树的重心变形)
  10. 在c语言中优先级最低的是6,C语言中 *,<<,= ,->哪个优先级最低