2

我的软件版本:

异常消息:

Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failure to transfer junit:junit:jar:3.8.1 from http://repo1.maven.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. Original error: **Could not transfer artifact junit:junit:jar:3.8.1 from/to central (http://repo1.maven.org/maven2)**: The operation was cancelled. (org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources:default-resources:process-resources)

但是 junit:junit:jar:3.8.1 可以通过以下链接找到: http ://search.maven.org/#search%7Cga%7C1%7Cg%3A%22junit%22%20AND%20a%3A% 22junit%22%20AND%20v%3A%223.8.1%22

没有任何 HTTP 代理。

我该如何解决这个问题?欢迎任何建议!

4

0 回答 0