Maven not downloading dependencies in Eclipse

后端 未结 11 1577
伪装坚强ぢ
伪装坚强ぢ 2021-01-03 19:08

I am setting up a project in eclipse . This projects builds successfully through command line(all mvn commands like mvn package, mvn compile<

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-03 19:59

    I got the same problem and this is how i solved. :

    1. Right click your project, choose Run As -> Maven install. Observe the output console to see the installation progress. After the installation is finished, you can continue to the next step.

    enter image description here

    enter image description here

    1. Right click your Spring MVC project, choose Maven -> Update Project.

    enter image description here

    1. Choose your project and click OK. Wait until update process is finished.
    2. The error still yet, then do Project->Clean and then be sure you have selected our project directory and then do the follow Project->Build.

提交回复
热议问题