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   该参数能强制更新服务器上的仓库缓存

上一篇:php 日期


下一篇:盖储数科|为什么十年后的区块链会从数字货币演变为金融基础设施