There are test failures.Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump
Posted 时光-ing
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了There are test failures.Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump相关的知识,希望对你有一定的参考价值。
报错内容:
There are test failures.
Please refer to C:\\Users\\13232\\IdeaProjects\\demo\\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.
报错原因:
pom.xml中的依赖版本不符合要求。
<!--MyBatis使用pageHelper分页-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.3.0</version>
</dependency>
解决办法:
将pom.xml中的依赖更改一下版本号和artifactiId。
<!--MyBatis使用pageHelper分页-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>5.2.0</version>
</dependency>
重新执行Java文件,成功运行的界面如下所示:
备注:引起该Bug的原因不止此一个,后续若发现会做进一步补充。
以上是关于There are test failures.Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump的主要内容,如果未能解决你的问题,请参考以下文章
English trip V1 - B 14. There Are Flowers in My Office 我办公室里有花 Teacher:Lamb Key: There be(is/are)
npm 不起作用,总是出现这个错误 -> 错误:找不到模块'are-we-there-yet'
There are no packages available
Linux exit时出现there are stopped jobs