踩坑日记-Failure to transfer

在导入新项目并更换了maven-settings.xml后,遇到pom.xml报错,错误源于settings文件变更使项目找不到jar包。通过右键项目选择Maven Update来解决。
摘要由CSDN通过智能技术生成
报错缘由

由于导入新的项目,之前依赖的maven-settings.xml文件被替换,后续替换回settings文件后,项目maven-clean、maven-install都没有问题,但是pom.xml文件会报如下错误:

Description Resource    Path    Location    Type
Failure to transfer com.oracle.oracle11g:oracle6:jar:RELEASE2 from http://119.23.132.137:18081/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of 137nexus has elapsed or updates are forced. Original error: Could not transfer artifact com.oracle.oracle11g:oracle6:jar:RELEASE2 from/to nexus137 (http://119.23.132.137:18081/content/groups/public/): The operation was cancelled.

org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer com.oracle.oracle11g:oracle6:jar:RELEASE2 from http://119.23.132.137:18081/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of 137nexus has elapsed or updates are forced. Original error: Could not transfer artifact com.oracle.oracle11g:oracle6:jar:RELEASE2 from/to nexus137 (http://119.23.132.137:18081/content/groups/public/): The operation was cancelled.
    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:238)
    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585)
    at org.eclipse.aether.internal.impl.DefaultArtifactRes
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值