spring-boot-starter-parent 包maven依赖报错

今天在学习尚硅谷的springboot时,导入spring boot相关的依赖报错。

视频给的pom.xml代码如下:

spring-boot-starter-parent 包maven依赖报错

在maven的setting.xml文件中,视频让修改了<profiles></profiles>标签里的内容:

spring-boot-starter-parent 包maven依赖报错

但我的pom.xml文件就一直报错:

spring-boot-starter-parent 包maven依赖报错

错误为:

Project 'org.springframework.boot:spring‐boot‐starter‐parent:1.3.2.RELEASE' not found

 

试了换版本:低版本和高版本都换了,没有解决。然后又找到maven的setting.xml 修改镜像,也没有解决

 

查看event log:

Failed to read artifact descriptor for org.springframework:spring-webmvc:jar:5.1.5.RELEASE

Could not transfer artifact org.springframework:spring-webmvc:pom:5.1.5.RELEASE from/to central (https://repo.maven.apache.org/maven2): C:\Users\wangbo\.m2\repository\org\springframework\spring-webmvc\5.1.5.RELEASE\spring-webmvc-5.1.5.RELEASE.pom.part.lock

 

最后发现方法和导致此问题的原因:

spring-boot-starter-parent 包maven依赖报错

具体原因是啥我也没搞清楚,好像是因为在maven central,没有spring-boot-starter-parent的artifact,有哪位大神直到可以在下面解释一下。