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还是正常(摊手)。

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

  • 相关阅读:
    ajax请求超时
    tp5去重统计某字段的数量
    html本地存储 localStorge
    json、obj转换
    关于数组的合并arr.push() arr.push.apply()
    curl内容
    js 回车键登录
    tp5 前置操作
    STL容器
    c++文件的读写
  • 原文地址:https://www.cnblogs.com/Bouger/p/7197870.html
Copyright © 2011-2022 走看看