启动spring测试报错 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (defa
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project gulimall-coupon: There are test failures.
Please refer to D:\m1\0613\mall-coupon\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最下面添加配置就好了