Maven 在新版eclipse报错的解决

转自Stack Overflow 

 

Remove all your failed downloads:

 

Linux:

find ~/.m2 -name "*.lastUpdated" -exec grep -q "Could not transfer" {} \; -print -exec rm {} 

 

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.
posted on 2017-09-21 11:23  lzsnolimit  阅读(151)  评论(0)    收藏  举报