Failure to transfer org.springframework.boot 问题
创建spring boot项目遇到下面的报错:
Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.6.7 from https://repo.maven.apache.org/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.6.7 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.6.7/spring-boot-starter-parent-2.6.7.pom
原因:未找到
解决:单独安装maven,将IDEA的maven home path连接到单独安装的maven路径

问题解决
在创建Spring Boot项目时遇到了 Maven 中心仓库下载 spring-boot-starter-parent-2.6.7.pom 失败的问题。错误信息显示,该问题已被缓存,且在一段时间内不会重新尝试下载。为了解决这个问题,建议单独安装 Maven,并将IDEA的Maven配置指向这个独立安装的Maven路径,从而成功解决依赖下载问题。
1万+

被折叠的 条评论
为什么被折叠?



