Project 'org.springframework.boot:spring-boot-starter- parent:3.1.4.RELEASE' not found I
时间: 2023-11-29 12:07:08 浏览: 30
在创建SpringBoot项目时,出现了Project 'org.springframework.boot:spring-boot-starter-parent:3.1.4.RELEASE' not found的错误。这个错误通常是因为在项目的pom.xml中没有正确配置spring-boot-starter-parent的版本号。你需要在pom.xml文件中添加如下配置:
```
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.4.RELEASE</version>
</parent>
```
这个配置会将spring-boot-starter-parent引入到你的项目中,并指定版本号为3.1.4.RELEASE。请确保你的项目中已经正确引入了spring-boot-starter-parent。