2025-05-09 17:25:48 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.ruoyi.test.TagUnitTest], using SpringBootContextLoader 2025-05-09 17:25:48 [main] INFO o.s.t.c.s.AbstractContextLoader - Could not detect default resource locations for test class [com.ruoyi.test.TagUnitTest]: no resource found for suffixes {-context.xml, Context.groovy}. 2025-05-09 17:25:48 [main] INFO o.s.t.c.s.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.ruoyi.test.TagUnitTest]: TagUnitTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-05-09 17:25:48 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.ruoyi.RuoYiApplication for test class com.ruoyi.test.TagUnitTest 2025-05-09 17:25:48 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] 2025-05-09 17:25:48 [main] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1b2c4efb, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@c35172e, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@c2db68f, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@3cc41abc, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4566d049, org.springframework.test.context.support.DirtiesContextTestExecutionListener@61ce23ac, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3668d4, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1c3b9394, org.springframework.test.context.event.EventPublishingTestExecutionListener@6f2cfcc2, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@7f6f61c8, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4c2cc639, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@ccb4b1b, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@4097cac, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@ec2cc4, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@2a5b3fee] 2025-05-09 17:25:49 [main] INFO com.ruoyi.test.TagUnitTest - Starting TagUnitTest using Java 1.8.0_181 on zhushi with PID 18168 (started by Adminis in D:\idea\jp\ruoyi-plus\ruoyi-admin) 2025-05-09 17:25:49 [main] INFO com.ruoyi.test.TagUnitTest - The following 1 profile is active: "dev" 2025-05-09 17:25:49 [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.5.Final 2025-05-09 17:25:51 [main] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource detect P6SPY plugin and enabled it 2025-05-09 17:25:52 [main] INFO com.zaxxer.hikari.HikariDataSource - master - Starting... 2025-05-09 17:25:52 [main] INFO com.zaxxer.hikari.HikariDataSource - master - Start completed. 2025-05-09 17:25:52 [main] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [slave] success 2025-05-09 17:25:52 [main] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource - add a datasource named [master] success 2025-05-09 17:25:52 [main] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource initial loaded [2] datasource,primary datasource named [master] 2025-05-09 17:25:53 [main] INFO c.r.framework.config.JacksonConfig - 初始化 jackson 配置 2025-05-09 17:25:54 [main] INFO c.ruoyi.framework.config.RedisConfig - 初始化 redis 配置 2025-05-09 17:25:54 [main] INFO org.redisson.Version - Redisson 3.20.0 2025-05-09 17:25:54 [redisson-netty-2-7] INFO o.r.c.p.MasterPubSubConnectionPool - 1 connections initialized for localhost/127.0.0.1:6379 2025-05-09 17:25:54 [redisson-netty-2-4] INFO o.r.c.pool.MasterConnectionPool - 8 connections initialized for localhost/127.0.0.1:6379 2025-05-09 17:25:56 [main] INFO o.a.e.c.DefaultActiviti5CompatibilityHandlerFactory - Activiti 5 compatibility handler implementation not found or error during instantiation : org.activiti.compatibility.DefaultActiviti5CompatibilityHandler. Activiti 5 backwards compatibility disabled. 2025-05-09 17:25:56 [main] INFO o.a.engine.impl.ProcessEngineImpl - ProcessEngine default created 2025-05-09 17:25:59 [main] INFO com.ruoyi.test.TagUnitTest - Started TagUnitTest in 10.536 seconds (JVM running for 11.448) 2025-05-09 17:25:59 [main] INFO c.r.s.runner.SystemApplicationRunner - 初始化OSS配置成功 2025-05-09 17:25:59 [main] INFO c.r.s.runner.SystemApplicationRunner - 加载参数缓存数据成功 2025-05-09 17:25:59 [main] INFO c.r.s.runner.SystemApplicationRunner - 加载字典缓存数据成功 2025-05-09 17:25:59 [registrationTask1] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task java.lang.IllegalStateException: couldn't determine local port. Please set spring.boot.admin.client.instance.service-base-url. at de.codecentric.boot.admin.client.registration.DefaultApplicationFactory.getLocalServerPort(DefaultApplicationFactory.java:192) at de.codecentric.boot.admin.client.registration.DefaultApplicationFactory.getServiceBaseUrl(DefaultApplicationFactory.java:104) at de.codecentric.boot.admin.client.registration.ServletApplicationFactory.getServiceUrl(ServletApplicationFactory.java:63) at de.codecentric.boot.admin.client.registration.ServletApplicationFactory.getManagementBaseUrl(ServletApplicationFactory.java:76) at de.codecentric.boot.admin.client.registration.DefaultApplicationFactory.getHealthUrl(DefaultApplicationFactory.java:154) at de.codecentric.boot.admin.client.registration.DefaultApplicationFactory.createApplication(DefaultApplicationFactory.java:80) at de.codecentric.boot.admin.client.registration.DefaultApplicationRegistrator.register(DefaultApplicationRegistrator.java:56) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 2025-05-09 17:25:59 [SpringApplicationShutdownHook] INFO c.r.f.manager.ShutdownManager - ====关闭后台任务任务线程池==== 2025-05-09 17:25:59 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource start closing .... 2025-05-09 17:25:59 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - master - Shutdown initiated... 2025-05-09 17:25:59 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource - master - Shutdown completed. 2025-05-09 17:25:59 [SpringApplicationShutdownHook] INFO c.b.d.d.DynamicRoutingDataSource - dynamic-datasource all closed success,bye