0

I am using SpringToolSuite 3.2.0 which based on Eclipse 4.2.0. When I perform ALT+SHIFT+X+Q which means "Build with Ant", console view just freezes and in error log error appears:

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

Session Data:

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

What can be wrong?

2 Answers2

0

This seems to be a problem with your eclipse and buildpath of your projects. Check to see if you can fix it. If not, as suggested in eclipse forum, reinstall eclipse and import the projects again

Chris
  • 5,584
  • 9
  • 40
  • 58
  • Thanks for answer, but I fix it another way, without reinstalling. Just perform right click on my build.xml -> `Run As` -> `External Tools Configuration` -> `JRE` tab on my file configuration. Then choose "Run in the same JRE as the workspace". It was on "Separate JRE". After switching to "Same JRE as the workspace" everything is ok. – Anton Pchelkin Jun 10 '13 at 11:48
0

Just perform right click on my build.xml -> Run As -> External Tools Configuration -> JRE tab on my file configuration. Then choose Run in the same JRE as the workspace. It was on Separate JRE. After switching to Run in the same JRE as the workspace everything is ok.