LoginSignup
4
3

More than 5 years have passed since last update.

EclipseでAntを実行した時に、Java Exception has occurred

Posted at

症状

EclipseでAntを実行した時に、Java Exception has occurredとダイアログだけ出てコンソールに何も出ない症状。

<ワークスペース>/.metadata/.logにエラーログが吐かれているので確認。

java.net.SocketTimeoutException: Accept timed out

これだけでは原因がわかりませんでしたが、海外のサイトで同様の事象と解決策を発見。

解決

Preference -> Ant -> Runtime -> Classpath -> Restore Default

おそらく、Eclipseのパスを移動した際に、古いパスの情報が残っていた模様。

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3