题
所有人,我在使用Maven构建时会遇到此错误(mvn clean install
)。找不到问题的描述。也许有人遇到它,这是什么意思以及如何修复它?如何强制更新?
Failure to find org.springframework:spring:jar:3.0.0.RELEASE in http://download.java.net/maven/2/ was cached in
the local repository, resolution will not be reattempted until the update interval of Java.Net has elapsed or updates are forced -> [Help 1]
解决方案
不确定这是否适用于Maven 3,这是对Maven 2的工作。这应该可以清洁当地存储库:
mvn dependency:purge-local-repository
否则,请尝试清洁当地存储库中的特定工件:
* Linux: ~/.m2
* Windows: C:\Documents and Settings\USER\.m2
不隶属于 StackOverflow