首页 文章

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

提问于
浏览
1

我在InteliIdea中的maven(pom.xml)中出现此错误:

无法传输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 from / to central(https:// repo.maven.apache.org/maven2):连接重置 . 无法传输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 from / to central(https:// repo.maven.apache.org/maven2):连接重置 .

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

1 回答

  • -1

    您可以尝试使用较低版本的 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>
    

相关问题