1
加载了Consuming REST Quick Start后,没有任何明显问题,我无法构建该项目。无法构建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
那么POM的存在。你可以从该机器到达以下URL:http://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-parent/1.1.8.RELEASE/ – 2014-10-30 13:02:05
是的,我可以达到该URL通过浏览器和卷曲。 – 2014-10-31 12:22:08
好的,算出来 - 感谢Alan的清晰,直接的回应。根据您的反馈,我开始研究代理设置等。由于此客户端的安全设置,我的机器很复杂。他们有代理服务器,所以无论何时我跳上或脱离他们的网络,我都有脚本来切换设置。它看起来像我需要它也替换我的〜/ .m2/settings.xml文件与替代使用场景的另一个版本。 ......这是我在该文件中设置的代理。一旦我关闭代理,Spring Tool Suite/eclipse就开始工作 - 为此。 – 2014-10-31 12:38:51