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
解决方案:
如果此方法还是创建不了,就可能是你的仓库的问题;
找到你的仓库,cmd命令
|
Remove all your failed downloads:
For windows:
|