Failure to transfer org.springframework.boot 问题

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路径

Failure to transfer org.springframework.boot 问题_第1张图片

问题解决

你可能感兴趣的:(spring,boot笔记,intellij-idea,spring,boot,maven)