Maven打包出错Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

 

 解决办法如下,在pom.xml中build节点添加以下内容

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>
                    

 

相关文章:

  • 2021-06-24
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2021-10-19
  • 2022-01-07
猜你喜欢
  • 2021-09-19
  • 2022-12-23
  • 2021-08-19
  • 2021-12-27
  • 2022-12-23
相关资源
相似解决方案