繁体   English   中英

使用Spring的pom.xml中的Maven错误

[英]Maven Error in pom.xml using spring

我在InteliIdea的maven(pom.xml)中遇到此错误:

无法从https:// repo.maven.apache.org/maven2传输org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE传输到本地存储库中,无法重新尝试解决问题直到Central的更新间隔过去或强制更新为止。 原始错误:无法将工件org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE从中央传输到中央(https:// repo.maven.apache.org/maven2):连接重置。 无法从https:// repo.maven.apache.org/maven2传输org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE传输到本地存储库中,无法重新尝试解决问题直到Central的更新间隔过去或强制更新为止。 原始错误:无法从/到中心转移工件org.springframework.boot:spring-boot-starter-parent:pom:1.5.6.RELEASE(https:// repo.maven.apache.org/maven2):连接重置。

我该如何解决该问题? 我在窗户里

您可以尝试使用较低版本的Spring-boot=stater-parent ,也可以尝试使用1.4.6.RELEASE1.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>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM