フォークされたVMは、適切に別れを告げずに終了しました。 VMのクラッシュまたはSystem.exitが呼び出されました



Forked Vm Terminated Without Saying Properly Goodbye



1 /問題の説明

プロジェクトフレームワークspring + springMVC + mybatis
プロジェクト管理メイヴンと
IDE:STS

Mavenインストールの実行時にエラーが発生しました



[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 / Iは削除するテストクラスであり、次にmaven install normal、次にテストクラスを再度追加し、もう一度maven installまたはnormal(Tan Shou)を実行します。

問題がどこにあるのかわかりませんが、例外が解決されました