Solve the maven problem of Failure to transfer org.springframework.boot: spring-boot-maven-plugin

Cause Analysis:

springboot error

Failure to transfer org.springframework.boot:spring-boot-maven-plugin

1. This is because after Maven adds a dependency, it always reports that the added dependency jar file cannot be found;

2. But this dependent jar file can be found in the nexus library;

3. But I can't find it in the local maven library , so I deleted the corresponding folder in the local library ;

4. Then execute update dependencies in eclipse . Successfully solved the problem!

Solution:

Right click on the project ---> find maven ----> update dependencies

 

 


 

 


Click ok and wait for a while to complete the solution. . .

 

Guess you like

Origin www.cnblogs.com/zkaiw/p/12689885.html