问题描述
在 IDEA install 模块时报错了,看了控制台信息 ,估计是依赖问题
[ERROR] Failed to execute goal on project
xxx.yyy.share: Could not resolve dependencies for project
com.dfl:xxx.yyy.zzz:jar:1.0-SNAPSHOT:
Failure to find com.xxx:xxx-target:pom:1.0-SNAPSHOT in https://xxxx/snapshot
was cached in the local repository,
resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced -> [Help 1]
分析解决
从日志信息看出,zzz 模块 找不到 jar 包,而这个 jar 包是来自 target 模块的,在本地仓库找不到,在私服也找不到了。
推测出私服仓库的 jar 是过期了或者被删除了。
于是我去问大佬,果然,私服的仓库这个 jar 被删除了,让大佬重新部署上去。