Problem-solving project Maven pom.xml file in error (Failure to transfer ....) of

Open the pom.xml file, view the error, if error type is: Failure to transfer ......... like, it indicates that your pom-dependent jar package is not fully downloaded.

Solution: Find your local maven repository if you have not changed maven local repository, you need to find the default maven settings.xml file

Warehouse, warehouse open the local directory, search windows through folders to find * .lastUpdated, and then delete all the files found.

Note: In the local repository to .lastUpdated file suffix indicates that the jar package is not fully downloaded, after to remove it, after re-download the maven jar package.

When removal is complete, find the project again Maven Update Project, wait for success depend on re-download, can be solved.

Guess you like

Origin www.cnblogs.com/li666/p/11007469.html