the maven pom.xml appear ArtifactTransferException: Failure to transfer error

Cause of the problem: local warehouse has a corresponding folder, but lack the corresponding jar file, the problem is caused by

Why the absence of a jar file will happen, there may be more than maven download from a third party relies for a predetermined time limit,

So how do you solve it?

Embodiment 1: corresponding to the local repository path deleted, re

 

Option 2: If the missing dependencies particularly, the use of a particularly troublesome, as shown below, select the "Force Update"

 

If a few missing dependencies, use 1 can save network speed,

 

Guess you like

Origin www.cnblogs.com/earthchinagl/p/10957041.html