IDEA 对项目Maven进行install项目时报错(Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:... Please refer to D:\j...for the individual test results.)

【问题】IDEA 对项目Maven进行install项目时报错

 错误如下:

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project crm-spring-boot-starter-biz-data-permission: There are test failures.

Please refer to D:\CRM\Server\crm\crm-framework\crm-spring-boot-starter-biz-data-permission\target\surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.

【原因】

Maven进行install的时候,把测试的代码也加进Maven里面了,所有报错。

【解决】取消Maven的install加载测试代码模块

【测试】完美解决

posted @   changlinlo  阅读(1915)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 推荐几款开源且免费的 .NET MAUI 组件库
· 实操Deepseek接入个人知识库
· 易语言 —— 开山篇
· Trae初体验
历史上的今天:
2019-10-24 又是一年的1024程序员节
点击右上角即可分享
微信分享提示