Spring boot starter parent cannot be found when creating Maven project, and the parent node reports an error

Why can’t you grab tickets when you travel on holiday?Reveal the key technology of 12306 how to ensure the ticket is not oversold>>>

problem : after creating Maven project in idea and setting parent project, project ‘org. Springframework boot:spring-boot-starter-parent : x.x.x.release ‘not found

cause of problem : missing POM file in local warehouse

solution : Enter https://maven.aliyun.com/mvn/search , search for the missing POM file, and pay attention to select the missing version number, as shown in the figure (what I’m missing is org. Springframework boot:spring-boot-starter-parent :2.0.7.RELEASE)

Download it to the local computer and put it in the corresponding directory

In idea, right-click Maven — > Reimport to re import, to solve the problem

Similar Posts: