roject build error: Non-resolvable parent POM: Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:1.5.2.RELEASE from https://repo.spring.io/milestone was cached in the
local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer artifact
org.springframework.boot:spring-boot-starter-parent:pom:1.5.2.RELEASE from/to spring-milestones (https://repo.spring.io/milestone): Connect to repo.spring.io:443 [repo.spring.io/35.241.58.96]
failed: Connection timed out: connect and 'parent.relativePath' points at no local POM
错误信息如上
解决方式:
<mirror>
<id>mirrorId</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://central.maven.org/maven2/</url>
</mirror>
大致原因就是因为链接不上parent中的pom.xml,所以就会导致报错,在maven/conf/setting.xml中加入以上镜像配置即可