問題
重新拉取Maven依賴時,提示was cached in the local repository, resolution will not be reattempted until the update ...
無法拉取。
解決
原因是本地已經存在相關jar,不會再次拉取。
如果想要重新拉取
- 删除 *.lastUpdated
- 删除 _remote.repositories
- maven 重新拉取
網上很多教程隻寫了第一步,沒有第二步。隻删除*.lastUpdated拉取會依舊失敗的。