刚开始创建Spring boot项目时,pom.xml文件时报如下图错误:

创建Spring boot project报错:Project build error: Non-resolvable parent POM for xxx:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent-LMLPHP

在网上百度的说让更新下Maven的update project,我试了没用,最后将version版本改了就行了,我原来版本是2.0.1RELEASE,改成了1.5.6.RELEASE就可以了。

创建Spring boot project报错:Project build error: Non-resolvable parent POM for xxx:0.0.1-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent-LMLPHP

05-11 19:24