“Forked Java VM exited abnormally” error from junit tests

前端 未结 17 1768
[愿得一人]
[愿得一人] 2020-12-08 18:22

I have a java junit test that passes when run alone on a development machine. We also have a hudson job which runs all the tests, invoked via ant, on a Mac OS X 10.4 node wi

17条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 19:22

    I had this problem and it turns out that the process was actually calling System.exit(). However there was also a bug in Ant where this was showing up sometimes. I think Ant 1.7.1 has the bug fixed. So make sure you are running that version.

提交回复
热议问题