mvn install 报错 Please refer to E:\maven\web_nanchang\target\surefire-reports for the indivi..
- 工作小总结
- 时间:2021-10-20 19:33
- 2862人已阅读
简介
mvninstall报错PleaserefertoE:\maven\web_nanchang\target\surefire-reportsfortheindivi..原因是测试代码发生错误导致编译终止失败。解决办法:pom.xml文件的build里面plugins下添加如下代码 <plugin> &nbs
🔔🔔好消息!好消息!🔔🔔
如果您需要注册ChatGPT,想要升级ChatGPT4。凯哥可以代注册ChatGPT账号,代升级ChatGPT4
有需要的朋友👉:微信号
mvn install 报错 Please refer to E:\maven\web_nanchang\target\surefire-reports for the indivi..
原因是测试代码发生错误导致编译终止失败。
解决办法:
pom.xml 文件的build里面plugins下添加如下代码
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
我是这样解决的。
其他错误解决办法参照:
http://blog.csdn.net/lch_cn/article/details/8225448/