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

后端 未结 7 1922

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条回答
  •  悲哀的现实
    2021-01-30 17:29

    I'm a little late to the party but I'll give my two cents. I just resolved this issue after spending longer than I'd like on it. The above solutions didn't work for me and here's why:

    there was a network issue when maven was downloading the required repositories so I actually didn't have the right jars. adding a -U to a maven clean install went and got them for me. So if the above solutions aren't working try this:

    1. Right click on your project -> Choose Run as -> 5 Maven build...
    2. In the Goals field type "clean install -U" and select Run
    3. After that completes right click on your project again and choose Maven -> Update Project and click ok.

    Hope it works for you.

提交回复
热议问题