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还是正常(摊手)。

不知道问题出在哪里,但是目前异常已经解决


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM