当前位置:网站首页>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
边栏推荐
- 软件测试人在深圳有哪些值得去的互联网公司【软件测试人员专供版】
- R language ggplot2 visualization: visual line graph, using legend in theme function The position parameter defines the position of the legend
- 神经网络物联网未来现状和趋势及看法
- Scenario based technology architecture process based on tidb - Theory
- 最长公共子序列 - 动态规划
- Don't be unconvinced. Mobile phone function upgrade is strong
- R Language ggplot2 Visualization: visualize linegraph, using Legend in Theme function. Paramètre de position emplacement de la légende personnalisée
- Controller in laravel framework
- 怎么叫一手一机的功能方式
- TiFlash 面向编译器的自动向量化加速
猜你喜欢
UE source code reading [1]--- starting with problems delayed rendering in UE
Tidb DM alarm DM_ sync_ process_ exists_ with_ Error troubleshooting
如何将 DevSecOps 引入企业?
How to introduce devsecops into enterprises?
金融壹賬通香港上市:市值63億港元 葉望春稱守正篤實,久久為功
What category does the Internet of things application technology major belong to
SAS接口有什么优势特点
神经网络物联网未来发展趋势怎么样
Tiflash compiler oriented automatic vectorization acceleration
Anchor navigation demo
随机推荐
如何将 DevSecOps 引入企业?
LeetCode_67(二进制求和)
01 、Solr7.3.1 在Win10平台下使用jetty的部署及配置
神经网络物联网未来现状和趋势及看法
Anchor navigation demo
Login interface code
Leetcode array question brushing notes
金融壹賬通香港上市:市值63億港元 葉望春稱守正篤實,久久為功
The simplest way to open more functions without certificates
TDengine 社区问题双周精选 | 第三期
为什么我认识的机械工程师都抱怨工资低?
R语言使用ggplot2包的geom_histogram函数可视化直方图(histogram plot)
MySQL user-defined function ID number to age (supports 15 / 18 digit ID card)
VC开发非MFC程序内存泄漏跟踪代码
How to deeply understand the design idea of "finite state machine"?
Redis如何实现多可用区?
R language ggplot2 visual bar graph: visualize the bar graph through the two-color gradient color theme, and add label text for each bar (geom_text function)
区间 - 左闭右开
用“新”字来吸引好奇的人群
如何深入理解“有限状态机”的设计思想?