架构师

您现在的位置是:首页 > 技术博客 > 开发环境

开发环境

maven:Failed to execute goal xxx test (default-test) on project tm-ugc: There are test failures.

架构师小跟班 2020-12-26 开发环境
报错信息:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project tm-ugc: There are test failures.Please refer

常见Maven报错:

Failed to execute goal xxx test (default-test) on project tm-ugc: There are test failures.

报错信息:
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project tm-ugc: There are test failures.
Please refer to D:\idea_projects\Music_MusicService_UserService\Code\ttmusic.capability\tm-ugc\target\surefire-reports for the individual test results.
==============================
解决办法:
使用命令跳过测试,在项目路径下执行Maven命令:mvn clean install -Dmaven.test.skip=true

文章评论