maven更新不下来相应的jar包

运行maven命令时报如下错误:

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

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

但是在本地仓库中又是可以找到对应的jar包。

解决方法如下:

到本地仓库中删除对应jar包所在的文件夹,然后再运行mvn命令时带上“-U”参数。

posted @ 2015-01-14 18:08  blackcat_333  阅读(784)  评论(0)    收藏  举报