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加载测试代码模块
【测试】完美解决
bug怎么这么多!
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 推荐几款开源且免费的 .NET MAUI 组件库
· 实操Deepseek接入个人知识库
· 易语言 —— 开山篇
· Trae初体验
2019-10-24 又是一年的1024程序员节