使用idea自动构建springboot项目,出现Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.2.6.RELEASE 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.2.6.RELEASE from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.40.215] failed: Connection timed out: connect 报错。即无法传输某个jar包(无法传输org.springframework.boot:spring boot starter parent:pom:2.2.6.RELEASE from https://repo.maven.apache.org/maven2已缓存在本地存储库中,在超过中心的更新间隔或强制更新之前,不会重新尝试解析。原始错误:无法传输项目org.springframework.boot:spring boot starter parent:pom:2.2.6.RELEASE from/to central(https://repo.maven.apache.org/maven2):连接到repo.maven.apa
自动构建SB项目,pom.xml报错Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.2.6.
于 2020-04-13 18:07:20 首次发布
博客讲述了在使用IDEA自动构建Spring Boot项目时遇到的Maven依赖传输失败问题,具体表现为无法传输`spring-boot-starter-parent:2.2.6`。作者通过更换版本、理解缓存机制和调整Maven设置解决了问题。同时,作者反思了基础配置知识的重要性,并提出需要整理个人博客文档以提高查找效率。
摘要由CSDN通过智能技术生成