zoukankan      html  css  js  c++  java
  • The forked VM terminated without saying properly goodbye. VM crash or System.exit called

    1/问题描述

    项目框架 spring+springMVC+mybatis
    用maven管理项目
    IDE:STS

    执行maven install时报错

    [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/我是把测试类删除,再maven install 正常,再把测试类重新添加,再一次maven install还是正常(摊手)。

    不知道问题出在哪里,但是目前异常已经解决

  • 相关阅读:
    POJ 1753
    POJ 3669
    POJ 1979
    HDU 1372
    Codeforces 761D
    response下载csv文件内容乱码问题
    只要没有给String[]数组new 空间,那么他就只是一个引用
    servlet中的“/”代表当前项目,html中的“/”代表当前服务器
    onkeyup的死循环问题
    OPGL+VS2017+GLFW+GLEW配置详细步骤
  • 原文地址:https://www.cnblogs.com/Bouger/p/7197870.html
Copyright © 2011-2022 走看看