簡體   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