Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstre

Posted 沛沛老爹

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstre相关的知识,希望对你有一定的参考价值。

背景

maven打包出错:

错误提示如下:

There are test failures.

Please refer to XXX\\target\\surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.

问题描述

这是因为测试代码时遇到错误,它会停止编译。

解决方案1:
在pom文件添加以下配置,打包跳过测试:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-surefire-plugin</artifactId>
     <configuration>
     <testFailureIgnore>true</testFailureIgnore>
     </configuration>
  </plugin>

解决方案2:

通过idea设置maven打包跳过测试

   

以上两个方案个人都不太建议,所以使用了第三种解决方案,不屏蔽测试的方案。

但是没有找到更好的解决办法,如果大家有更好的办法,可以一起交流下

以上是关于Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstre的主要内容,如果未能解决你的问题,请参考以下文章

There are test failures.Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump

Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.(

Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.

Please refer to E:SSMDistributededu-parentedu-dao argetsurefire-reports for the individua

mysql workbench 报错:Can't analyze file, please try to change encoding type...

Unable to load vocabulary from file. Please check that the provided vocabulary is accessible and not