Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on
maven项目package test时报错
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project shop-order: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test
解决方法:在原来的maven依赖插件中新加一个maven-surefire-plugin依赖即可
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
浙公网安备 33010602011771号