报错缘由
由于导入新的项目,之前依赖的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