您的位置: 首页 > 文章 > Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) 分类: 文章 • 2024-08-15 14:04:28 springboot打包出现错误 正文 在进行springboot打包时,打包不成功 错误描述 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project spring: There are test failures. 解决 首先要保证在本地可以跑通过。错误显示是在test出错,在test类上面添加 @Ignore注解。 再次打包,成功