我是spring boot的新手,我打算用maven项目连接h2数据库。这是我的pom.Xml文件。文件显示错误
找不到插件'org.springframework.boot:spring-boot-maven-plugin:‘
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.3.5.RELEASE
dev.che
stu
0.0.1-SNAPSHOT
stu
Demo project for Spring Boot
1.8
org.springframework.boot
spring-boot-starter-data-jpa
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-devtools
runtime
true
com.h2database
h2
runtime
org.springframework.boot
spring-boot-starter-test
test
org.junit.vintage
junit-vintage-engine
org.springframework.boot
spring-boot-maven-plugin如果你能帮助修复这个错误,我将非常感激。
发布于 2020-11-02 12:48:22
The The The
pom.xml
是正确的。似乎有网络问题。
由于这个原因,插件没有被下载。
做
在这个项目上。
更新的pom.xml:
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.3.5.RELEASE
dev.che
stu
0.0.1-SNAPSHOT
stu
Demo project for Spring Boot
1.8
org.springframework.boot
spring-boot-starter-data-jpa
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-devtools
runtime
true
com.h2database
h2
runtime
org.springframework.boot
spring-boot-starter-test
test
org.junit.vintage
junit-vintage-engine
org.springframework.boot
spring-boot-maven-pluginhttps://stackoverflow.com/questions/64639836
复制相似问题