更新时间:2022-02-20 00:25:07
您所指的是local repository
中不存在的Parent pom.您应该删除<relativePath>
标记的值,以便maven可以从maven central repository
获取pom文件.
You are pointing to a Parent pom that does not exist in your local repository
. You should remove value for <relativePath>
tag so that maven could fetch the pom file from maven central repository
.
如下所示更改您的父标签.
Change your parent tag as shown below.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.2.RELEASE</version>
<relativePath />
</parent>