문제

all, I get this error when building with maven (mvn clean install). Can't find the description of the problem. maybe anybody encountered it, what does it mean and how to fix it? How to force the updates?

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]
도움이 되었습니까?

해결책

Not sure if this works for Maven 3, here's what would work for Maven 2. This should work to clean the local repository:

mvn dependency:purge-local-repository

Otherwise, try cleaning the specific artifact from your local repository:

* Linux: ~/.m2
* Windows: C:\Documents and Settings\USER\.m2
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top