、解决错误 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project qc-offline-report: There are test failures.
————————————————

2、在pom.xml文件中加入maven-surefire-plugin依赖,加在标签下。重新用package打包,成功。

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test)
最新推荐文章于 2023-03-02 16:41:11 发布
本文介绍了一种解决Maven项目中出现的测试失败问题的方法。通过在pom.xml文件中添加maven-surefire-plugin依赖,并重新进行打包,可以有效解决测试过程中遇到的错误。
4528

被折叠的 条评论
为什么被折叠?



