首页 > 解决方案 > org.springframework.boot:spring-boot-starter-parent:pom:2.0.2.RELEASE 传输失败

问题描述

当我使用 spring 工具套件启动我的第一个 spring 应用程序时遇到问题,这是错误,位于 POM.XML 中:

Project build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.0.2.RELEASE from http://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.0.2.RELEASE from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.0.2.RELEASE/spring-boot-starter-parent-2.0.2.RELEASE.pom and 'parent.relativePath' points at no local POM

标签: javaspringmavenspring-bootspring-tool-suite

解决方案


推荐阅读