Failure to find xxx in xxx was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ xxx

问题:

在linux服务器上使用maven编译war时报错:

16:41:35 [FATAL] Non-resolvable parent POM for ***: Failure to find *** in *** was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ ***...

解决:

在mvn命令中添加 -U   该参数能强制更新服务器上的仓库缓存

posted @ 2016-12-07 17:10  傅晓芸  阅读(4392)  评论(0编辑  收藏  举报