POM error: Failure to find org.springframework.boot

后端 未结 8 1409
一个人的身影
一个人的身影 2021-02-05 05:35

I have been trying to setup a spring boot project but am getting an error. I researched and tried various options but no luck so far. Any help would be appreciated.

Pro

相关标签:
8条回答
  • 2021-02-05 06:16

    This happened because the STS is not able to find the Parent POM location. You can go to Command Prompt and exectute mvn -x to get location of your Global and Local Settings.xml file.Go to Window-> Preferences-> Maven, and then set the locations for both Gloabal and User level with the above command locations. Then right click on the project and Goto Maven-> UpdateProject. This will solve the problem

    0 讨论(0)
  • 2021-02-05 06:18

    There might have been some intermittent Internet issue or something. I was facing the same problem yesterday. Updating the the project (On STS or Eclipse, right click on the project and Maven -> Update project -> tick everything except Offline) after sometime fixed it.

    0 讨论(0)
提交回复
热议问题