Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project XXX-dao: There are test failures.

原因是test包下还有XXXDaoApplicationTests的类,而我这个项目是dao层,已经把XXXDaoApplicationTests相关类都删除了。

解决办法就是把test下的XXXDaoApplicationTests类删除

@SpringBootTest
class XXXDaoApplicationTests {@Testvoid contextLoads() {}}

解决前:

解决后:

There are test failures相关推荐

  1. [论文笔记] A model for correlated failures in N-version programming(IIE Trans, 2004)

    Time: 4.0 hours YS Dai, M Xie, KL Poh, SH Ng., 2004. A model for correlated failures in N-version pr ...

  2. linux ssh 提示 too many authentication failures for root root的身份验证失败太多 解决办法

    ssh 提示 "Received disconnect from 192.168.2.11: 2: Too many authentication failures for root&quo ...

  3. oracle.jobs中failures,Oracle job详解

    select job,last_date,last_sec,next_date,next_sec,broken,failures from dba_jobs; ALTER SYSTEM SET JOB ...

  4. error: mod_deflate has been requested but can not be built due to prerequisite failures

    error: mod_deflate has been requested but can not be built due to prerequisite failures configure 错误 ...

  5. SourceTree中拉取GitLab代码时提示:Too many authentication failures“ fatal: Could not read from remote reposit

    场景 在本地使用git生成ssh私钥和公钥后,将公钥添加到Gitllab的SSH Keys 上去之后, 打开Source Tree进行克隆代码时提示: Too many authentication ...

  6. The procedure WAL relies on the ability to hsync for proper operation during component failures

    ################################################第1种办法############################################### ...

  7. 备份恢复Lesson 09. Diagnosing Failures

    备份恢复Lesson 09. Diagnosing Failures 1. 请说明 ADR 的目录结构? 9-5 2. 数据恢复指导的使用涉及到哪些命令,每个命令的作用是什么? 9-15 9-21 1 ...

  8. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.074 s <<< FAILURE - in com.xxx.X

    报错内容: Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.074 s <<< FAILURE! ...

  9. ssh问题Received disconnect from:Too many authentication failures

    ssh报错 问题描述 使用MobaXterm操作一台ubuntu免密连接另一台Ubuntu,总是报错:Received disconnect from:Too many authentication ...

  10. Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures

    openstack创建实例时报错: Exceeded maximum number of retries. Exhausted all hosts available for retrying bui ...

最新文章

  1. 关于OSD::mkfs: ObjectStore::mkfs failed with error (5) Input/output error问题的解决
  2. 20个绝密电脑小技巧
  3. input的值提交不上
  4. ajax获取php的数组,使用AJAX请求获取数组并将其传递到php数组中 - javascript
  5. 用scanline取BMP上某点的颜色,代码如下,为什么可以编译,运行时却出错呢?...
  6. 云服务器装teamviewer
  7. 关于运行程序路径的更改
  8. js同步-异步-回调
  9. Vue webapp项目通过HBulider打包原生APP
  10. 【算法基础一】字符编码分类
  11. 软件项目管理系统-进度编辑
  12. x86汇编游戏——2048
  13. Scrapy教程经典实战【新概念英语】
  14. 对项目需求书撰写的一点理解
  15. 计算机毕业论文致谢信范文,毕业论文致谢信范文
  16. 什么是线程安全 什么是线程不安全
  17. 李振杰:中科红旗的生与死
  18. C#textbox控件区分扫码枪输入和键盘输入
  19. 图像处理(6)--图像深度
  20. caffe模型通道剪枝channel pruning

热门文章

  1. 微服务 微服务架构
  2. Visual Studio 2019 搭建Flex
  3. (30)Verilog实现倍频【方法一】
  4. 春节“聊天宝”使用秘籍,轻松应对亲戚尬聊
  5. 张驰咨询:某齿轮有限公司首期六西格玛项目成功关闭
  6. 南大通用GBase 8s数据空间管理
  7. 系统集成项目管理工程师 下午 真题 及考点(2019年上半年)
  8. 五一是深圳买新房的最佳时机吗?
  9. 洛谷P1827[USACO3.4] 美国血统 American Heritage
  10. flex 如何设置蒙版(遮罩)