POM error: Failure to find org.springframework.boot

后端 未结 8 1508
一个人的身影
一个人的身影 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

提交回复
热议问题