我正在使用基于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
有什么不对?
答案 0 :(得分:0)
这似乎是您的eclipse和项目构建路径的问题。检查是否可以修复它。如果没有,如eclipse forum所示,重新安装eclipse并再次导入项目
答案 1 :(得分: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
后一切正常。