本人初学者,在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)]
上面提到maven的settings。xml我是这么写的
我查找网上配置文件都是这么写,哪里有错吗?
我现在懵了,该怎么办?
可能maven缓存失败,在maven仓库删除springboot2.6.1,然后再重新拉取;
若不行,将版本降级,比如变成2.5.2;
最后在项目上单击右键,选择Maven->Update Project,不行的话再重启尝试