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