我在InteliIdea的maven(pom.xml)中有这个错误:
在本地存储库中缓存了从https:// repo.maven.apache.org/maven2传输org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE失败,在中心的更新间隔已过或强制更新之前,将不会重试解析。原始错误:无法从中心传输工件org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE,也无法将其传输到中心。在本地存储库中缓存了从https:// repo.maven.apache.org/maven2传输org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE失败,在中心的更新间隔已过或强制更新之前,将不会重试解析。原始错误:无法从中心传输工件org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE,也无法将其传输到中心。
我如何解决这个问题?我在窗口里
发布于 2017-08-12 14:52:44
您可以尝试使用较低版本的Spring-boot=stater-parent,您可以尝试此版本的1.4.6.RELEASE或1.3.5.RELEASE您也可以将以下代码归档:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.3.5.RELEASE</version>
<type>pom</type>
</dependency>https://stackoverflow.com/questions/45647379
复制相似问题