当前位置:网站首页>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 2016I 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语言ggplot2可视化:gganimate包基于transition_time函数创建动态散点图动画(gif)、使用shadow_mark函数为动画添加静态散点图作为动画背景
- Interpretation of tiflash source code (IV) | design and implementation analysis of tiflash DDL module
- The IPO of Ruineng industry was terminated: the annual revenue was 447million and it was planned to raise 376million
- Detailed explanation of IP address and preparation of DOS basic commands and batch processing
- 强联通分量
- 魅族新任董事长沈子瑜:创始人黄章先生将作为魅族科技产品战略顾问
- 昆仑太科冲刺科创板:年营收1.3亿拟募资5亿 电科太极持股40%
- Getting started with rce
- Implementation process of WSDL and soap calls under PHP5
- Google EventBus 使用详解
猜你喜欢

Tiflash compiler oriented automatic vectorization acceleration

Brief introduction to revolutionary neural networks

Why do I support bat to dismantle "AI research institute"

How to introduce devsecops into enterprises?

openGauss数据库源码解析系列文章—— 密态等值查询技术详解(下)

无密码身份验证如何保障用户隐私安全?

Tdengine biweekly selection of community issues | phase III

让秒杀狂欢更从容:大促背后的数据库(下篇)

What category does the Internet of things application technology major belong to

LeetCode_2(两数相加)
随机推荐
用“新”字来吸引好奇的人群
Fault analysis | analysis of an example of MySQL running out of host memory
享你所想。智创未来
Anchor navigation demo
Some ideas about Apache mesos
Zhizhen new energy rushes to the scientific innovation board: the annual revenue is 220million, and SAIC venture capital is the shareholder
2022 machine fitter (Advanced) test question simulation test question bank simulation test platform operation
循环不变式
LeetCode_67(二进制求和)
Requests + BS4 crawl Douban top250 movie information
展现强大。这样手机就不会难前进
Getting started with rce
mysql 自定义函数 身份证号转年龄(支持15/18位身份证)
The forked VM terminated without saying properly goodbye
不相交集
[buuctf.reverse] 152-154
What are the advantages and characteristics of SAS interface
Current situation, trend and view of neural network Internet of things in the future
Liste des liens (simple)
[js] basic syntax - for loop