标签:2.4 log create htm recommend artifact isp lan 异常
1.异常明细:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test)
表示的含义是:maven在打war包时,运行测试类时报错。
解决方案:
设置maven在打war包时,跳过对测试类的执行步骤
<!-- 跳过对测试类代码的执行 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.4.2</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin>
maven Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4
标签:2.4 log create htm recommend artifact isp lan 异常
原文地址:https://www.cnblogs.com/Marydon20170307/p/8884766.html