簡體   English   中英

無法構建Spring Tool Suite快速入門

[英]Unable to build Spring Tool Suite Quick Start

加載了Consuming REST快速入門,沒有任何明顯的問題,我無法構建該項目。

以下是來自Spring Tool Suite的錯誤消息:

[INFO] Scanning for projects...
[INFO] Downloading: http://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-parent/1.1.8.RELEASE/spring-boot-starter-parent-1.1.8.RELEASE.pom
[INFO] Downloading: http://central.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.1.8.RELEASE/spring-boot-starter-parent-1.1.8.RELEASE.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.springframework:gs-consuming-rest:0.1.0 (/Users/matthewbrown/Documents/workspace/gs-consuming-rest-initial/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.1.8.RELEASE from/to spring-releases (http://repo.spring.io/libs-release): connect timed out and 'parent.relativePath' points at wrong local POM @ line 10, column 13 -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

原來是〜/ .m2 / settings.xml文件。 它定義了一組代理,可以在我的客戶的某些辦公網絡上使用。 禁用這些代理可以使Spring Tool Suite再次工作。

現在,如何更輕松地實現網絡之間的交換...

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM