1. 程式人生 > >Maven 在新版eclipse報錯的解決

Maven 在新版eclipse報錯的解決

remove profile pro ads res then span code stack

轉自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.

Maven 在新版eclipse報錯的解決