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怎么这么多!