Spring MVC 无法将spring项目从github导入intellij

tp5buhyn  于 2022-11-15  发布在  Spring
关注(0)|答案(1)|浏览(119)

我尝试从intellij导入Spring Boot项目,但遇到一些错误:

Project 'org.springframework.boot:spring-boot-starter-parent:2.3.12.RELEASE' not found
Dependency 'org.springframework.boot:spring-boot-starter-test:' not found
Dependency 'org.springframework.boot:spring-boot-starter-test:' not found
Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found
Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found
u2nhd7ah

u2nhd7ah1#

尝试使用2.7.2或2.6.10

<parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.2</version> <!-- Or 2.6.10 -->
        <relativePath/> <!-- lookup parent from repository -->
</parent>

相关问题