【全网最全-01-Maven】关于Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1


问题描述

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project Spring: There are test failures.Please refer to D:\WorkSpace\idea-workspace\Spring\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.

解决办法

既不是JDK问题也不是版本问题,maven打包时跳过测试即可

在pom.xml中的maven-surefire-plugin最下面添加配置开启跳过测试即可

        <plugin><artifactId>maven-surefire-plugin</artifactId><version>2.22.1</version><configuration><skipTests>true</skipTests></configuration></plugin>

【全网最全-01-Maven】关于Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1相关推荐

  1. 【Maven】Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

    Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on ...

  2. 淘淘商城项目报错 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-

    @[TOC](淘淘商城项目报错 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (d ...

  3. 解决Failed to execute goal org.apache.maven.plugins

    1.Maven构建失败 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin: 2.3 . 2 :compile  ...

  4. 针对Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1的解决方案

    2019独角兽企业重金招聘Python工程师标准>>> 背景:本项目使用JDK1.8 编译maven工程的时候出现如下错误: Failed to execute goal org.a ...

  5. Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile)

    完整的错误信息: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile ( ...

  6. 针对maven install 报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1 解决方案...

    项目运行环境:jdk1.8+tomcat8 maven install 时报错:Failed to execute goal org.apache.maven.plugins:maven-compil ...

  7. 【maven install报错】Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war

    maven install报错如下: [INFO] Scanning for projects... [INFO] Downloading: http://xxx.xx.xx.x:xxxx/nexus ...

  8. 【maven install报错】Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile

    maven install之后报的错误如下: [INFO] Scanning for projects... [INFO] Downloading: http://xxx.xxx.xxx.xxx:xx ...

  9. maven install出错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (d

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-c ...

最新文章

  1. StringBuilder与StringBuffer比较
  2. golang ide 环境搭建_Golang 入门 : 打造开发环境
  3. python中接口测试垃圾数据如何清理_巧用PyUnit中unittest特性解决接口测试产生脏数据问题...
  4. 【人工智能中“预测”的知识点】
  5. 零基础入门深度学习 | 第二章:线性单元和梯度下降
  6. Java调用python的程序
  7. Qt 串口通信 高速发送出错的解决方法总结
  8. 专题_期权交易必备知识
  9. 任正非回应退休传闻;董明珠谈直播首秀“失败”;Wine 5.7 发布​| 极客头条...
  10. python汉化idle_idle python
  11. AXURE版富文本输入框(富文本编辑器)教程+下载
  12. h5移动端使用手机自带软键盘的“前往”、“go”键提交表单
  13. 墨迹天气3.0引导动画
  14. 出生年月日的html语句,出生年月日五行查询表
  15. windows环境安装lzo和python-lzo
  16. mysql8 设置binlog过期时间
  17. 通信工程专业考研考c语言吗,通信工程专业考研考什么
  18. 关于win10笔记本创建无外网热点的方法探讨1
  19. 【JAVA程序设计】(C00043)基于SSM非maven的人事管理系统
  20. LR(1)项目集族的构造:如何确定前向搜索符(旧版)

热门文章

  1. 超低功耗段式LCD液晶显示驱动芯片-VKL060 SSOP24资料简介
  2. 私活利器,时薪翻一番,推荐几个SpringBoot项目,建议你改改
  3. 306-置换策略OPT算法的实现
  4. 南京航空航天大学计算机学硕真题,2021南京航空航天大学考研历年真题
  5. 个人简历表-Word简历可编辑下载
  6. Pytest基础之强大的mark使用教程
  7. Pxe + Kickstart脚本 +VMWare NAT模式 自动安装 ESXi 6.5
  8. python从excel读彩票数据统计分析,用matplotlib.pyplot做可视图在程序窗口显示,并可动态切换Canvas的可视图,窗口里还添加了菜单和Button按钮工具栏,按钮换图
  9. 在难熬的时刻也将过去
  10. 微信小程序中从缓存storage获取的的数据