当前位置:网站首页>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
边栏推荐
- Linked list (simple)
- R language ggplot2 visual density map: Visual density map by group and custom configuration geom_ The alpha parameter in the density function sets the image transparency (to prevent multiple density c
- TDengine 社区问题双周精选 | 第三期
- [buuctf.reverse] 152-154
- Simple process of penetration test
- mysql 自定义函数 身份证号转年龄(支持15/18位身份证)
- 如何深入理解“有限状态机”的设计思想?
- Postman简介、安装、入门使用方法详细攻略!
- Kunlun Taike rushes to the scientific innovation board: the annual revenue is 130million, and it plans to raise 500million. CETC Taiji holds 40% of the shares
- R language dplyr package select function, group_ By function, mutate function and cumsum function calculate the cumulative value of the specified numerical variable in the dataframe grouping data and
猜你喜欢
Postman简介、安装、入门使用方法详细攻略!
魅族新任董事长沈子瑜:创始人黄章先生将作为魅族科技产品战略顾问
Brief introduction to revolutionary neural networks
魅族新任董事長沈子瑜:創始人黃章先生將作為魅族科技產品戰略顧問
无密码身份验证如何保障用户隐私安全?
Shenziyu, the new chairman of Meizu: Mr. Huang Zhang, the founder, will serve as the strategic adviser of Meizu's scientific and technological products
Why do I support bat to dismantle "AI research institute"
国富氢能冲刺科创板:拟募资20亿 应收账款3.6亿超营收
瑞能实业IPO被终止:年营收4.47亿 曾拟募资3.76亿
IP packet header analysis and static routing
随机推荐
JS takes key and value from an array object to form a new object
03_Solr之dataimport
R Language ggplot2 Visualization: visualize linegraph, using Legend in Theme function. Paramètre de position emplacement de la légende personnalisée
Deep copy is hard
登录界面代码
广发期货排名多少?网上办理广发期货开户安全可靠吗?
Liste des liens (simple)
R language ggplot2 visual density map: Visual density map by group and custom configuration geom_ The alpha parameter in the density function sets the image transparency (to prevent multiple density c
Postman简介、安装、入门使用方法详细攻略!
3W原则[通俗易懂]
R語言ggplot2可視化:可視化折線圖、使用theme函數中的legend.position參數自定義圖例的比特置
让秒杀狂欢更从容:大促背后的数据库(下篇)
Introduction, installation, introduction and detailed introduction to postman!
展现强大。这样手机就不会难前进
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram, and use the labs parameter to customize the X axis label text (customize X axis labels)
Geom of R language using ggplot2 package_ Histogram function visual histogram (histogram plot)
R language uses the polR function of mass package to build an ordered multi classification logistic regression model, and uses the coef function to obtain the log odds ratio corresponding to each vari
Don't be unconvinced. Mobile phone function upgrade is strong
R语言使用nnet包的multinom函数构建无序多分类logistic回归模型、使用coef函数获取模型中每个变量(自变量改变一个单位)对应的对数优势比(log odds ratio)
矩阵链乘 - 动态规划实例