当前位置:网站首页>The forked VM terminated without saying properly goodbye
The forked VM terminated without saying properly goodbye
2022-07-05 14:12:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
Always in use Maven Development projects , Recently I encountered a headache , The solution described in Chinese is not found in online search , I found an English website to understand the reason and solve the problem , So I wrote this article , For peer review .
stay maven Project use maven install On command , appear The forked VM terminated without saying properly goodbye abnormal , The specific problems are as follows :
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.927 s
[INFO] Finished at: 2016-12-14T15:13:37+08:00
[INFO] Final Memory: 48M/351M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project message-provider: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /opt/f/.m2/gitlab-runner/builds/0aa902b1/0/paas/message/***-provider && /usr/java/jdk1.8.0_66/jre/bin/java -Xmx1024m -XX:MaxPermSize=256m -jar /opt/f/.m2/gitlab-runner/builds/0aa902b1/0/paas/message/message-provider/target/surefire/surefirebooter780447286825479042.jar /opt/f/.m2/gitlab-runner/builds/0aa902b1/0/paas/message/message-provider/target/surefire/surefire1560965759779144679tmp /opt/f/.m2/gitlab-runner/builds/0aa902b1/0/paas/message/essage-provider/target/surefire/surefire_09112026330459044785tmp
[ERROR] -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :message-provider
Last login: Wed Dec 14 15:12:47 CST 2016
I searched for it for a long time , I learned that when I was writing unit tests , At the end of the test, I wrote a line System.exit(0); It's caused vm Exit ahead of time , Remove and execute again maven install normal .
Solution , stay idea Use in Ctrl+Shift+R Find in project System.exit(0) Lines of code , Then delete it , Execute after deleting my project mvn install normal .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/149581.html Link to the original text :https://javaforall.cn
边栏推荐
猜你喜欢
In addition to the root directory, other routes of laravel + xampp are 404 solutions
Xampp configuring multiple items
国富氢能冲刺科创板:拟募资20亿 应收账款3.6亿超营收
Laravel dompdf exports PDF, and the problem of Chinese garbled code is solved
upload (1-6)
Financial one account Hong Kong listed: market value of 6.3 billion HK $Ye wangchun said to be Keeping true and true, long - term work
牛客网:拦截导弹
瑞能实业IPO被终止:年营收4.47亿 曾拟募资3.76亿
区间 - 左闭右开
Sorter evolution of ticdc 6.0 principle
随机推荐
After the microservice project is deployed, static resources and files uploaded to upload cannot be accessed. Solution
常见问题之PHP——Fatal error: Allowed memory size of 314572800 bytes exhausted...
matlab学习2022.7.4
LeetCode_67(二进制求和)
How to call the function mode of one hand and one machine
[js] basic syntax - for loop
Mingfeng medical sprint technology innovation board: annual revenue of 350million yuan, proposed to raise 624million yuan
Scenario based technology architecture process based on tidb - Theory
Google EventBus 使用详解
[buuctf.reverse] 152-154
R语言ggplot2可视化:可视化折线图、使用theme函数中的legend.position参数自定义图例的位置
R Language ggplot2 Visualization: visualize linegraph, using Legend in Theme function. Paramètre de position emplacement de la légende personnalisée
Matlab learning 2022.7.4
Laravel - view (new and output views)
R language ggplot2 visualization: visual line graph, using legend in theme function The position parameter defines the position of the legend
Which Internet companies are worth going to in Shenzhen for software testers [Special Edition for software testers]
非技术部门,如何参与 DevOps?
最长公共子序列 - 动态规划
Hongmeng fourth training
R語言ggplot2可視化:可視化折線圖、使用theme函數中的legend.position參數自定義圖例的比特置