运行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”参数。