java中 Failed to...... plugins:maven-surefire-plugin:2.22.2:test (default-test)w

526 阅读1分钟

问题描述:

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

Please refer to D:\Chai\springboot\springboot_02_base_configuration\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. 删除该项目下的 target 目录,重启好了

方法2.右侧maven单击蓝色小闪电(就是跳过test模块的意思)