The container 'Maven Dependencies' references non existing library - STS

后端 未结 7 1926

I\'m using win8 previously I had been running Eclipse Juno on my pc but from now on I wanted to start using STS, I am getting the below error as soon as I create a new project.

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-30 17:30

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

    1. Right click your Spring MVC 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.

提交回复
热议问题