[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.crm:crm-auth:jar:1.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 60, column 22 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.crm:crm-file:jar:1.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.projectlombok:lombok:jar -> duplicate declaration of version (?) @ line 49, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] --------------------------< com.crm:crm-lead >-------------------------- [INFO] Building crm-lead 1.0.0-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ crm-lead --- [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-lead\src\main\resources [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-lead\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ crm-lead --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ crm-lead --- [INFO] skip non existing resourceDirectory D:\code\crm-backend-matt\crm-lead\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ crm-lead --- [INFO] Recompiling the module because of added or removed source files. [INFO] Compiling 11 source files with javac [debug parameters release 17] to target\test-classes [INFO] /D:/code/crm-backend-matt/crm-lead/src/test/java/com/crm/lead/query/impl/LeadViewQueryImplTest.java: D:\code\crm-backend-matt\crm-lead\src\test\java\com\crm\lead\query\impl\LeadViewQueryImplTest.java使用了未经检查或不安全的操作。 [INFO] /D:/code/crm-backend-matt/crm-lead/src/test/java/com/crm/lead/query/impl/LeadViewQueryImplTest.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ crm-lead --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.crm.lead.creation.impl.LeadCreationPlannerImplTest mvn : Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap cl asspath has been appended 所在位置 行:1 字符: 1 + mvn -s settings.xml -pl crm-lead test 2>&1 | Out-File -Encoding utf8 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (Java HotSpot(TM...s been appended:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.136 s -- in com.crm.lead.creation.impl.LeadCreationPlannerImplTest [INFO] Running com.crm.lead.deadline.impl.LeadDeadlinesImplTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.343 s -- in com.crm.lead.deadline.impl.LeadDeadlinesImplTest [INFO] Running com.crm.lead.event.PoolChangedEventListenerTest 11:20:38.427 [main] INFO com.crm.lead.event.PoolChangedEventListener -- 收到公海池配置变更事件:poolId=10 11:20:38.436 [main] INFO com.crm.lead.event.PoolChangedEventListener -- 公海池配置变更处理完成:poolId=10,deadline 重算合计 15 行 11:20:38.440 [main] INFO com.crm.lead.event.PoolChangedEventListener -- 收到公海池配置变更事件:poolId=10 11:20:38.443 [main] INFO com.crm.lead.event.PoolChangedEventListener -- 公海池配置变更处理完成:poolId=10,deadline 重算合计 0 行 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s -- in com.crm.lead.event.PoolChangedEventListenerTest [INFO] Running com.crm.lead.history.impl.LeadHistoryRecorderImplTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.323 s -- in com.crm.lead.history.impl.LeadHistoryRecorderImplTest [INFO] Running com.crm.lead.job.LeadMaintenanceJobTest 11:20:38.823 [main] INFO com.crm.lead.job.LeadMaintenanceJob -- [线索维护Job] 开始,截止时刻=2026-08-20T11:20:38.823170400 11:20:38.823 [main] INFO com.crm.lead.job.LeadMaintenanceJob -- [线索维护Job] 失效完成:3 条线索已失效 11:20:38.824 [main] INFO com.crm.lead.job.LeadMaintenanceJob -- [线索维护Job] 回收完成:5 条线索已回收 11:20:38.824 [main] INFO com.crm.lead.job.LeadMaintenanceJob -- [线索维护Job] 全部完成 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s -- in com.crm.lead.job.LeadMaintenanceJobTest [INFO] Running com.crm.lead.owner.impl.OwnerSnapshotResolverImplTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 s -- in com.crm.lead.owner.impl.OwnerSnapshotResolverImplTest [INFO] Running com.crm.lead.query.impl.LeadViewQueryImplTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.302 s -- in com.crm.lead.query.impl.LeadViewQueryImplTest [INFO] Running com.crm.lead.service.ClaimLimitCheckerTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 s -- in com.crm.lead.service.ClaimLimitCheckerTest [INFO] Running com.crm.lead.service.impl.LeadBatchServiceTest 11:20:39.402 [main] ERROR com.crm.lead.service.impl.LeadServiceImpl -- 批量操作单条异常:leadId=9 java.lang.IllegalStateException: boom at com.crm.lead.service.impl.LeadServiceImpl.runBatch(LeadServiceImpl.java:485) at com.crm.lead.service.impl.LeadServiceImpl.releaseBatch(LeadServiceImpl.java:450) at com.crm.lead.service.impl.LeadBatchServiceTest.unexpectedException_mapsToUnknown(LeadBatchServiceTest.java:87) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:156) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:160) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:146) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:144) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:100) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 s -- in com.crm.lead.service.impl.LeadBatchServiceTest [INFO] Running com.crm.lead.service.impl.LeadServiceImplTest [INFO] Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.495 s -- in com.crm.lead.service.impl.LeadServiceImplTest [INFO] Running com.crm.lead.state.impl.LeadTransitionImplTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s -- in com.crm.lead.state.impl.LeadTransitionImplTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 116, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18.935 s [INFO] Finished at: 2026-08-20T11:20:40+08:00 [INFO] ------------------------------------------------------------------------