Ant Plugin: java.net.SocketTimeoutException: Accept timed out Solution
2010-08-31 11:51
836 查看
Issue:
When you are running build.xml ant script in Eclipse, you may find it doesn’t work. It seems like ant script is not running at all. And you can find following exception from your workspace/.metadata.
Reason:
The reason is that may be you installed a new plugin (e.g. Axis2_service_Archiver_1.3.0) to your eclipse. But this plugin changed your ant_home path setting. So, eclipse cannot find correct ant.bat to execute ant script.
Solution:
From Eclipse ->window->preferences->Ant->Runtime->Classpath,click “Ant home”
redefine Ant Home path.
When you are running build.xml ant script in Eclipse, you may find it doesn’t work. It seems like ant script is not running at all. And you can find following exception from your workspace/.metadata.
1 | !ENTRY org.eclipse.ant.ui 4 120 2010-08-31 11:39:33.125 |
2 | !MESSAGE Error logged from Ant UI: |
3 | !STACK 0 |
4 | java.net.SocketTimeoutException: Accept timed out |
5 | at java.net.PlainSocketImpl.socketAccept(Native Method) |
6 | at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) |
7 | at java.net.ServerSocket.implAccept(ServerSocket.java:453) |
8 | at java.net.ServerSocket.accept(ServerSocket.java:421) |
9 | at org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntBuildListener$ServerConnection.run(RemoteAntBuildListener.java:95) |
The reason is that may be you installed a new plugin (e.g. Axis2_service_Archiver_1.3.0) to your eclipse. But this plugin changed your ant_home path setting. So, eclipse cannot find correct ant.bat to execute ant script.
Solution:
From Eclipse ->window->preferences->Ant->Runtime->Classpath,click “Ant home”
redefine Ant Home path.
相关文章推荐
- Ant Plugin: java.net.SocketTimeoutException: Accept timed out Solution
- java.net.SocketTimeoutException: Read timed out解决办法
- java后台接收文件java.net.SocketTimeoutException: Read timed out
- java.net.SocketTimeoutException: Read timed out
- One Cause of java.net.SocketTimeoutException: Read timed out
- edis.clients.jedis.exceptions.JedisConnectionException: java.Net.SocketTimeoutException: Read timed
- : java.net.SocketTimeoutException: connect timed out
- java.net.SocketTimeoutException: Connection timed out
- java.net.SocketTimeoutException: Read timed out 的解决办法
- tomcat servlet java.net.SocketTimeoutException: Read timed out 解决办法
- 调用webservice的时候报错 java.net.SocketTimeoutException: Read timed out
- Getting java.net.SocketTimeoutException: Connection timed out in android
- 原因消息java.net.SocketTimeoutException: Connection timed out
- HttpClient java.net.SocketTimeoutException: Read timed out!
- java.net.SocketTimeoutException: Read timed out
- java.net.SocketTimeoutException: Read timed out
- java.net.SocketTimeoutException: Read timed out 的解决办法 android平台 腾讯微博开发
- java.net.SocketTimeoutException: Read timed out
- org.apache.solr.client.solrj.SolrServerException: java.net.SocketTimeoutException: Read timed out
- java连接mongod抛java.net.SocketTimeoutException: connect timed out异常(2015-11-07 20:29:58)