백엔드/Java
Failure to transfer commons-lang:commons-lang:pom:2.1 from https://repo.maven.apache.org/maven2 was cached in the local repository
1005ptr
2019. 1. 8. 16:23
반응형
경로 : https://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer
Remove all your failed downloads:
find ~/.m2 -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} \;
For windows:
cd %userprofile%\.m2\repository
for /r %i in (*.lastUpdated) do del %i
Then rightclick on your project in eclipse and choose Maven->"Update Project ...", make sure "Update Dependencies" is checked in the resulting dialog and click OK.
반응형