0

我正在使用基于 Eclipse 4.2.0 的 SpringToolSuite 3.2.0。当我执行 ALT+SHIFT+X+Q 表示“使用 Ant 构建”时,控制台视图只是冻结并在错误日志中出现错误:

Error logged from ANT UI
java.net.SocketTimeoutException: Accept timed out
...
at org.eclipse.ant.internal.launching.launchConfigurations.RemoteAntBuildListeners$ServerConnection.run(RemoteAntBuildLIstener.java:91)

会话数据:

eclipse.buildId=3.2.0.201303060835-RELEASE-e43
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Command-line arguments: -os win32 -ws win32 -arch x86

有什么问题?

4

2 回答 2

0

这似乎是您的项目的 Eclipse 和构建路径的问题。检查您是否可以修复它。如果没有,按照eclipse 论坛中的建议,重新安装 eclipse 并再次导入项目

于 2013-06-04T05:38:37.290 回答
0

只需在我的文件配置上右键单击我的build.xml-> Run As-> External Tools Configuration->选项卡。JRE然后选择Run in the same JRE as the workspace。它开着Separate JRE。切换后Run in the same JRE as the workspace一切正常。

于 2013-06-10T11:54:38.617 回答