小龙人758
2021-12-19 18:31
采纳率: 50%
浏览 70
已结题

eclipse创建springboot项目时pom出现错误,不知道该怎么办

本人初学者,在eclipse创建springboot项目时pom出现这样的问题。

 错误信息:Non-resolvable parent POM for com.BrandGarden:brandgarden_web:0.0.1-SNAPSHOT: org.springframework.boot:spring-boot-starter-parent:pom:2.6.1 failed to 
 transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of 
 maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-
 parent:pom:2.6.1 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [nexus-aliyun (http://maven.aliyun.com/nexus/content/
 groups/public, default, releases)]

img

上面提到maven的settings。xml我是这么写的

img

我查找网上配置文件都是这么写,哪里有错吗?

我现在懵了,该怎么办?

1条回答 默认 最新

相关推荐 更多相似问题