The forked VM terminated without saying properly goodbye. VM crash or System.exit called
1/问题描述
项目框架 spring+springMVC+mybatis
用maven管理项目
IDE:STS
执行maven install时报错
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project testweba: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
2/问题分析
有人说是
TestCase写了不正常的 System.exit() 语句
或System.exit() 没有正常关闭
*具体问题我没有发现
3/我是把测试类删除,再maven install 正常,再把测试类重新添加,再一次maven install还是正常(摊手)。
不知道问题出在哪里,但是目前异常已经解决