How to Solve Error: Failed to execute goal on project

Problem description

There is a mistake in the idea install module. After reading the console information, it is estimated that it is a dependency problem

[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]

Analysis and solution

From the log information, we can see that the zzz module can’t find the jar package, which comes from the target module and can’t be found in the local warehouse or private server.

It is speculated that the jar of private server warehouse is expired or deleted.

So I went to ask the boss, and sure enough, the jar of private server’s warehouse was deleted, so that the boss could deploy it again.

Similar Posts: