admin管理员组

文章数量:1618711


今天在构建springcloud微服务的时候,导入相关依赖,发现pom.xml报错了,报错信息如下:

Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.4.3 from https://repo.maven.apache/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.4.3 from/to central (https://repo.maven.apache/maven2): Transfer failed for https://repo.maven.apache/maven2/org/springframework/boot/spring-boot-starter-parent/2.4.3/spring-boot-starter-parent-2.4.3.pom

根据这条错误,我在StackOverflow上找到了答案,作者是这样说的:

对应的操作为:

与此同时,还有一个问题,idea提示Project 'org.springframework.boot:spring-boot-starter-parent:2.4.3' not found未找到。

在网上找到一个回答,说可以降低版本,然后再试试,发现果然成功了。

本文标签: 详解错误orgspringframeworkfailure