Maven打包报错- was cached in the local repository, resolution will not be reattempted until the update i

maven打包报错

jar包 2 对应的版本没有deploy,在私服中找不到,但是jar包 1 依赖jar包 2

报错如下:
Failed to execute goal on project supplier-web: Could not resolve dependencies for project jar包 1 war:1.0.0-SNAPSHOT: Failed to collect dependencies at jar包 1 :jar:0.3.1-SNAPSHOT: Failed to read artifact descriptor for jar包 1 :jar:0.3.1-SNAPSHOT: Failure to find jar包 2 :pom:0.3.1-SNAPSHOT in ‘‘next地址’’ was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]

解决方案 : jar包 2也deploy下

猜你喜欢

转载自blog.csdn.net/automal/article/details/108128118