繁体   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