maven更新不下來相應的jar包

運行maven命令時報以下錯誤:maven

Failure to find XXXXXX.jar in http://"your nexus address" was cached in the local repository, it

resolution will not be reattempted until the update interval of nexus has elapsed or updates are forcedio

可是在本地倉庫中又是能夠找到對應的jar包。sed

解決方法以下:date

到本地倉庫中刪除對應jar包所在的文件夾,而後再運行mvn命令時帶上「-U」參數。方法

相關文章
相關標籤/搜索