diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 8d66637..c32584c 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,5 +1,6 @@ \ No newline at end of file diff --git a/logs/vehicle.log b/logs/vehicle.log index 36eb8a0..79ff3de 100644 --- a/logs/vehicle.log +++ b/logs/vehicle.log @@ -1,970 +1,94 @@ -2024-05-27 09:14:50.415 [main] INFO com.muyu.loginApplication:55 - Starting loginApplication using Java 17.0.10 on xiaoxin with PID 5192 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 09:14:50.418 [main] DEBUG com.muyu.loginApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 09:14:50.418 [main] INFO com.muyu.loginApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 09:14:51.026 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$58dd8534] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 09:14:51.048 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 09:14:51.051 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 09:14:51.052 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 09:14:51.068 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 09:14:51.107 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 09:14:51.109 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 09:14:51.128 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 09:14:51.320 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 818 (http) -2024-05-27 09:14:51.329 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 09:14:51.330 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 09:14:51.415 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 09:14:51.415 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 963 ms -2024-05-27 09:14:51.451 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 09:14:55.644 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 09:14:55.648 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 09:14:56.297 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 818 (http) with context path '' -2024-05-27 09:14:56.304 [main] INFO com.muyu.loginApplication:61 - Started loginApplication in 6.167 seconds (JVM running for 7.135) -2024-05-27 09:14:56.306 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 09:14:56.368 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 09:14:56.376 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 09:14:56.385 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 09:14:56.387 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 09:14:56.388 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 09:14:56.388 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 09:14:56.400 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 09:14:56.400 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 09:14:56.400 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 09:14:56.400 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:95 MS -2024-05-27 09:45:14.196 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 09:45:14.198 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 09:45:14.199 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 09:45:14.199 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 09:45:14.200 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 09:45:14.201 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 09:45:14.201 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 15:09:52.474 [main] INFO com.muyu.loginApplication:55 - Starting loginApplication using Java 17.0.10 on xiaoxin with PID 25980 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 15:09:52.476 [main] DEBUG com.muyu.loginApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 15:09:52.476 [main] INFO com.muyu.loginApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 15:09:53.256 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$a601b930] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:09:53.280 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:09:53.283 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:09:53.286 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:09:53.302 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:09:53.342 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:09:53.347 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:09:53.370 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 15:09:53.598 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 818 (http) -2024-05-27 15:09:53.605 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 15:09:53.606 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 15:09:53.702 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 15:09:53.702 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1191 ms -2024-05-27 15:09:53.738 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 15:09:53.963 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 15:09:53.968 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 15:09:54.875 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 818 (http) with context path '' -2024-05-27 15:09:54.883 [main] INFO com.muyu.loginApplication:61 - Started loginApplication in 2.772 seconds (JVM running for 3.97) -2024-05-27 15:09:54.888 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 15:09:54.971 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 15:09:54.982 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 15:09:54.996 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 15:09:54.997 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 15:09:54.998 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 15:09:54.999 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 15:09:55.014 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 15:09:55.014 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 15:09:55.014 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 15:09:55.015 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:128 MS -2024-05-27 15:58:23.042 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 15:58:23.052 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 15:58:23.054 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[2MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 15:58:23.054 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 15:58:23.056 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 15:58:23.058 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 15:58:23.063 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 15:58:32.516 [main] INFO com.muyu.loginApplication:55 - Starting loginApplication using Java 17.0.10 on xiaoxin with PID 12856 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 15:58:32.518 [main] DEBUG com.muyu.loginApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 15:58:32.519 [main] INFO com.muyu.loginApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 15:58:33.199 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$e48e3f98] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:58:33.222 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:58:33.223 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:58:33.224 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:58:33.244 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:58:33.282 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:58:33.285 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 15:58:33.311 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 15:58:33.526 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 818 (http) -2024-05-27 15:58:33.535 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 15:58:33.535 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 15:58:33.623 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 15:58:33.623 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1066 ms -2024-05-27 15:58:33.659 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 15:58:33.881 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 15:58:33.885 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 15:58:34.700 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 818 (http) with context path '' -2024-05-27 15:58:34.711 [main] INFO com.muyu.loginApplication:61 - Started loginApplication in 2.551 seconds (JVM running for 3.394) -2024-05-27 15:58:34.713 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 15:58:34.787 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 15:58:34.797 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 15:58:34.812 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 15:58:34.814 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 15:58:34.814 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 15:58:34.815 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 15:58:34.825 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 15:58:34.825 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 15:58:34.826 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 15:58:34.826 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:114 MS -2024-05-27 19:50:07.176 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 28968 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 19:50:07.178 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 19:50:07.178 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 19:50:07.721 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$2b26e96] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:07.740 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:07.741 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:07.742 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:07.755 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:07.786 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:07.788 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:07.810 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 19:50:07.986 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 818 (http) -2024-05-27 19:50:07.993 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 19:50:07.995 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 19:50:08.073 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 19:50:08.073 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 862 ms -2024-05-27 19:50:08.101 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 19:50:08.166 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 19:50:08.170 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 19:50:08.268 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '/public': Unsatisfied dependency expressed through field 'restTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.web.client.RestTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 19:50:08.270 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 19:50:08.271 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 19:50:08.272 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 19:50:08.279 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 08:28:38.364 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 3488 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:28:38.369 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:28:38.369 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:28:38.805 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:28:38.807 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:28:38.839 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 08:28:39.026 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$2b38a004] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:28:39.108 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:28:39.109 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:28:39.110 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:28:39.121 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:28:39.152 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:28:39.155 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:28:39.174 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:28:39.378 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:28:39.385 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:28:39.387 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:28:39.473 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:28:39.473 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1073 ms +2024-05-28 08:28:39.499 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:28:39.685 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:28:39.689 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:28:40.685 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 08:28:40.691 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.577 seconds (JVM running for 2.986) +2024-05-28 08:28:40.694 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 08:28:40.756 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 08:28:40.765 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 08:28:40.774 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 08:28:40.775 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 08:28:40.776 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 08:28:40.777 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 08:28:40.798 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] +2024-05-28 08:28:40.798 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 08:28:40.799 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 08:28:40.799 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:107 MS +2024-05-28 08:30:25.606 [http-nio-8999-exec-5] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 08:30:25.622 [http-nio-8999-exec-5] DEBUG com.muyu.controller.IndexController:19 - 重定向到 - /static/index 页面 +2024-05-28 08:30:53.845 [http-nio-8999-exec-10] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - ==> Preparing: SELECT id,name,data AS routeData,create_time FROM route_info +2024-05-28 08:30:53.845 [http-nio-8999-exec-10] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - ==> Parameters: +2024-05-28 08:30:53.873 [http-nio-8999-exec-10] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - <== Total: 2 +2024-05-28 08:35:57.861 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 08:35:57.863 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 08:35:57.863 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 08:35:57.864 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 08:35:57.864 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 08:35:57.865 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:35:57.866 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:36:05.293 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 21908 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:36:05.295 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:36:05.295 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:36:05.689 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:36:05.691 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:36:05.717 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 08:36:05.891 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$bc4efc57] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:36:05.962 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:36:05.963 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:36:05.964 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:36:05.976 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:36:06.004 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:36:06.007 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:36:06.028 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:36:06.205 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:36:06.211 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:36:06.211 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:36:06.286 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:36:06.286 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 959 ms +2024-05-28 08:36:06.311 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:36:06.483 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:36:06.487 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:36:06.595 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} +2024-05-28 08:36:06.595 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:36:06.597 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:36:06.599 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] +2024-05-28 08:36:06.600 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [H2 TCP Server (tcp://10.3.44.57:59653)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/sun.nio.ch.Net.accept(Native Method) + java.base@17.0.10/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:675) + java.base@17.0.10/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:617) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:574) + java.base@17.0.10/java.net.ServerSocket.accept(ServerSocket.java:532) + app//org.h2.server.TcpServer.listen(TcpServer.java:263) + app//org.h2.tools.Server.run(Server.java:610) + java.base@17.0.10/java.lang.Thread.run(Thread.java:842) +2024-05-28 08:36:06.601 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [MVStore background writer nio:C:/Users/86157/vehicle/db.mv.db] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/java.lang.Object.wait(Native Method) + app//org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3283) +2024-05-28 08:36:06.605 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 19:50:08.291 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field restTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.web.client.RestTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.web.client.RestTemplate' in your configuration. - -2024-05-27 19:50:42.734 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 31908 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 19:50:42.736 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 19:50:42.736 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 19:50:43.240 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$a1c9e7ce] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:43.258 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:43.259 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:43.261 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:43.275 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:43.307 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:43.311 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:50:43.332 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 19:50:43.485 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 818 (http) -2024-05-27 19:50:43.492 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 19:50:43.492 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 19:50:43.566 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 19:50:43.566 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 791 ms -2024-05-27 19:50:43.592 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 19:50:43.644 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 19:50:43.647 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 19:50:43.733 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'restTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.web.client.RestTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 19:50:43.733 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 19:50:43.735 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 19:50:43.737 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 19:50:43.745 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 19:50:43.757 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field restTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.web.client.RestTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.web.client.RestTemplate' in your configuration. - -2024-05-27 19:51:09.753 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 30064 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 19:51:09.755 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 19:51:09.755 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 19:51:10.261 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$2b26e96] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:51:10.280 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:51:10.282 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:51:10.283 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:51:10.297 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:51:10.330 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:51:10.333 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:51:10.353 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 19:51:10.505 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 818 (http) -2024-05-27 19:51:10.512 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 19:51:10.513 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 19:51:10.587 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 19:51:10.587 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 796 ms -2024-05-27 19:51:10.615 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 19:51:10.667 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 19:51:10.671 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 19:51:10.760 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'restTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.web.client.RestTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 19:51:10.760 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 19:51:10.762 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 19:51:10.763 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 19:51:10.770 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 19:51:10.782 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field restTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.web.client.RestTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.web.client.RestTemplate' in your configuration. - -2024-05-27 19:53:01.863 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 28396 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 19:53:01.865 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 19:53:01.865 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 19:53:02.602 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$79542f03] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:53:02.627 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:53:02.630 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:53:02.631 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:53:02.647 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:53:02.696 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:53:02.701 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:53:02.725 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 19:53:02.894 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 818 (http) -2024-05-27 19:53:02.901 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 19:53:02.902 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 19:53:02.974 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 19:53:02.974 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1070 ms -2024-05-27 19:53:03.003 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 19:53:03.062 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 19:53:03.067 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 19:53:03.171 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'restTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.web.client.RestTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 19:53:03.171 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 19:53:03.177 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 19:53:03.179 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 19:53:03.184 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 19:53:03.196 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field restTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.web.client.RestTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.web.client.RestTemplate' in your configuration. - -2024-05-27 19:54:20.108 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 31356 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 19:54:20.112 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 19:54:20.112 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 19:54:20.743 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$b4dce8dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:20.760 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:20.761 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:20.762 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:20.773 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:20.802 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:20.805 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:20.823 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 19:54:20.983 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 818 (http) -2024-05-27 19:54:20.990 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 19:54:20.990 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 19:54:21.065 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 19:54:21.065 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 906 ms -2024-05-27 19:54:21.092 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 19:54:21.143 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 19:54:21.147 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 19:54:21.838 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.PortInUseException: Port 818 is already in use -2024-05-27 19:54:21.840 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 19:54:21.846 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 19:54:21.874 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[27MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 19:54:21.874 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 19:54:21.875 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 19:54:21.876 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 19:54:21.880 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 19:54:21.882 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 19:54:21.889 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 19:54:21.896 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Web server failed to start. Port 818 was already in use. - -Action: - -Identify and stop the process that's listening on port 818 or configure this application to listen on another port. - -2024-05-27 19:54:43.639 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 29920 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 19:54:43.641 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 19:54:43.641 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 19:54:44.164 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$b4dce8dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:44.185 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:44.186 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:44.186 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:44.198 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:44.226 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:44.227 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 19:54:44.247 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 19:54:44.406 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 19:54:44.412 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 19:54:44.412 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 19:54:44.491 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 19:54:44.491 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 819 ms -2024-05-27 19:54:44.518 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 19:54:44.572 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 19:54:44.576 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 19:54:45.259 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 19:54:45.265 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.95 seconds (JVM running for 2.313) -2024-05-27 19:54:45.268 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 19:54:45.335 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 19:54:45.344 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 19:54:45.353 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 19:54:45.355 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 19:54:45.356 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 19:54:45.361 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 19:54:45.381 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 19:54:45.381 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 19:54:45.381 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 19:54:45.381 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:115 MS -2024-05-27 19:55:13.657 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 19:55:13.672 [http-nio-8999-exec-1] DEBUG com.muyu.controller.IndexController:19 - 重定向到 - /static/index 页面 -2024-05-27 19:55:16.146 [http-nio-8999-exec-7] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - ==> Preparing: SELECT id,name,data AS routeData,create_time FROM route_info -2024-05-27 19:55:16.146 [http-nio-8999-exec-7] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - ==> Parameters: -2024-05-27 19:55:16.155 [http-nio-8999-exec-7] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - <== Total: 2 -2024-05-27 19:55:19.000 [http-nio-8999-exec-8] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - ==> Preparing: SELECT id,name,data AS routeData,create_time FROM route_info -2024-05-27 19:55:19.000 [http-nio-8999-exec-8] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - ==> Parameters: -2024-05-27 19:55:19.004 [http-nio-8999-exec-8] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - <== Total: 2 -2024-05-27 20:20:27.392 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:20:27.394 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:20:27.396 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:20:27.396 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:20:27.396 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:20:27.398 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:20:27.402 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:20:31.739 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 30904 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:20:31.741 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:20:31.741 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:20:32.242 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6c1daa77] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:20:32.262 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:20:32.263 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:20:32.264 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:20:32.278 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:20:32.308 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:20:32.311 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:20:32.333 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:20:32.501 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8080 (http) -2024-05-27 20:20:32.508 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:20:32.508 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:20:32.582 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:20:32.584 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 807 ms -2024-05-27 20:20:32.613 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:20:32.670 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:20:32.673 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:20:33.371 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8080 (http) with context path '' -2024-05-27 20:20:33.377 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.887 seconds (JVM running for 2.215) -2024-05-27 20:20:33.380 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:20:33.448 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:20:33.455 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:20:33.465 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:20:33.467 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:20:33.468 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:20:33.472 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:20:33.492 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:20:33.492 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:20:33.492 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:20:33.493 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:115 MS -2024-05-27 20:22:21.600 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:22:21.601 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:22:21.602 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:22:21.602 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:22:21.603 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:22:21.604 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:22:21.608 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:22:25.733 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 25352 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:22:25.734 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:22:25.735 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:22:26.195 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6c1daa77] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:22:26.215 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:22:26.216 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:22:26.219 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:22:26.232 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:22:26.267 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:22:26.271 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:22:26.299 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:22:26.464 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:22:26.471 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:22:26.471 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:22:26.542 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:22:26.543 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 783 ms -2024-05-27 20:22:26.570 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:22:26.621 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:22:26.625 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:22:27.265 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:22:27.271 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.761 seconds (JVM running for 2.094) -2024-05-27 20:22:27.274 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:22:27.341 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:22:27.348 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:22:27.357 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:22:27.359 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:22:27.360 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:22:27.363 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:22:27.383 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:22:27.383 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:22:27.383 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:22:27.383 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:111 MS -2024-05-27 20:22:43.194 [http-nio-8999-exec-2] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:24:32.895 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:24:32.897 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:24:32.898 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:24:32.899 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:24:32.899 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:24:32.900 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:24:32.906 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:24:36.830 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 20268 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:24:36.832 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:24:36.832 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:24:37.331 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$b4dce8dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:24:37.352 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:24:37.354 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:24:37.355 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:24:37.369 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:24:37.402 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:24:37.404 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:24:37.425 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:24:37.574 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:24:37.580 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:24:37.580 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:24:37.656 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:24:37.658 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 797 ms -2024-05-27 20:24:37.688 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:24:37.745 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:24:37.750 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:24:38.427 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:24:38.434 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.836 seconds (JVM running for 2.17) -2024-05-27 20:24:38.436 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:24:38.500 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:24:38.511 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:24:38.521 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:24:38.524 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:24:38.524 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:24:38.527 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:24:38.548 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:24:38.549 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:24:38.549 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:24:38.549 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:114 MS -2024-05-27 20:24:43.198 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:31:32.190 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:31:32.195 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:31:32.197 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[2MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:31:32.200 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:31:32.201 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:31:32.203 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:31:32.213 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:31:39.448 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 21764 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:31:39.452 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:31:39.453 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:31:40.054 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$a1c9e7ce] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:31:40.071 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:31:40.072 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:31:40.073 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:31:40.085 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:31:40.115 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:31:40.118 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:31:40.140 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:31:40.304 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:31:40.311 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:31:40.311 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:31:40.386 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:31:40.386 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 865 ms -2024-05-27 20:31:40.415 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:31:40.475 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:31:40.479 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:31:41.178 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:31:41.184 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.105 seconds (JVM running for 2.485) -2024-05-27 20:31:41.186 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:31:41.254 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:31:41.263 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:31:41.272 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:31:41.274 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:31:41.276 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:31:41.279 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:31:41.302 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:31:41.303 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:31:41.303 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:31:41.303 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:118 MS -2024-05-27 20:31:43.193 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:43:20.111 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:43:20.114 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:43:20.115 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:43:20.115 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:43:20.115 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:43:20.117 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:43:20.123 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:43:27.644 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 30388 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:43:27.646 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:43:27.647 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:43:28.200 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$2b26e96] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:28.221 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:28.222 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:28.223 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:28.234 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:28.267 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:28.270 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:28.291 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:43:28.452 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:43:28.458 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:43:28.460 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:43:28.539 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:43:28.539 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 860 ms -2024-05-27 20:43:28.571 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:43:28.625 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:43:28.630 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:43:29.320 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:43:29.327 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.965 seconds (JVM running for 2.474) -2024-05-27 20:43:29.329 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:43:29.397 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:43:29.405 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:43:29.416 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:43:29.419 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:43:29.420 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:43:29.423 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:43:29.445 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:43:29.445 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:43:29.445 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:43:29.445 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:118 MS -2024-05-27 20:43:43.187 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:43:48.076 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:43:48.078 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:43:48.079 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:43:48.079 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:43:48.079 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:43:48.081 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:43:48.085 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:43:55.274 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 4248 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:43:55.276 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:43:55.276 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:43:55.774 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$b4dce8dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:55.792 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:55.793 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:55.795 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:55.806 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:55.840 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:55.843 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:43:55.864 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:43:56.020 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:43:56.027 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:43:56.028 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:43:56.101 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:43:56.101 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 797 ms -2024-05-27 20:43:56.129 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:43:56.181 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:43:56.184 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:43:56.870 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:43:56.877 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.834 seconds (JVM running for 2.194) -2024-05-27 20:43:56.881 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:43:56.952 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:43:56.961 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:43:56.971 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:43:56.973 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:43:56.974 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:43:56.977 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:43:56.997 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:43:56.999 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:43:56.999 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:43:56.999 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:120 MS -2024-05-27 20:44:11.318 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:45:30.356 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:45:30.357 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:45:30.359 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:45:30.359 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:45:30.359 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:45:30.360 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:45:30.364 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:45:37.462 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 21900 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:45:37.464 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:45:37.464 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:45:37.971 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6c1daa77] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:45:37.993 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:45:37.994 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:45:37.995 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:45:38.006 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:45:38.035 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:45:38.037 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:45:38.058 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:45:38.211 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:45:38.218 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:45:38.218 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:45:38.292 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:45:38.293 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 800 ms -2024-05-27 20:45:38.321 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:45:38.372 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:45:38.376 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:45:39.033 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:45:39.039 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.865 seconds (JVM running for 2.242) -2024-05-27 20:45:39.041 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:45:39.107 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:45:39.116 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:45:39.126 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:45:39.127 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:45:39.129 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:45:39.132 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:45:39.153 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:45:39.153 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:45:39.153 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:45:39.153 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:113 MS -2024-05-27 20:45:43.197 [http-nio-8999-exec-2] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:47:38.281 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:47:38.283 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:47:38.284 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:47:38.284 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:47:38.284 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:47:38.285 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:47:38.288 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:47:45.456 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 29096 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:47:45.459 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:47:45.459 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:47:45.980 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$480db8c4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:47:45.999 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:47:46.000 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:47:46.001 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:47:46.014 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:47:46.044 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:47:46.047 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:47:46.067 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:47:46.238 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:47:46.246 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:47:46.246 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:47:46.318 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:47:46.318 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 829 ms -2024-05-27 20:47:46.350 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:47:46.406 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:47:46.411 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:47:47.174 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:47:47.182 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.991 seconds (JVM running for 2.552) -2024-05-27 20:47:47.184 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:47:47.246 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:47:47.255 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:47:47.264 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:47:47.266 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:47:47.267 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:47:47.271 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:47:47.294 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:47:47.294 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:47:47.294 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:47:47.295 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:111 MS -2024-05-27 20:48:02.275 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:49:13.720 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:49:13.722 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:49:13.723 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:49:13.723 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:49:13.723 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:49:13.724 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:49:13.730 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:50:12.691 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 32044 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:50:12.693 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:50:12.693 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:50:13.216 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$b4dce8dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:50:13.237 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:50:13.238 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:50:13.239 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:50:13.250 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:50:13.278 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:50:13.280 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:50:13.300 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:50:13.455 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:50:13.462 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:50:13.462 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:50:13.540 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:50:13.540 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 818 ms -2024-05-27 20:50:13.570 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:50:13.622 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:50:13.627 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:50:14.271 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:50:14.277 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.873 seconds (JVM running for 2.238) -2024-05-27 20:50:14.280 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:50:14.339 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:50:14.349 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:50:14.359 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:50:14.362 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:50:14.363 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:50:14.366 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:50:14.389 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:50:14.389 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:50:14.389 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:50:14.390 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:111 MS -2024-05-27 20:50:31.062 [http-nio-8999-exec-2] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:51:02.084 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:51:02.086 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:51:02.087 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:51:02.087 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:51:02.087 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:51:02.087 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:51:02.092 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:53:09.979 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 28632 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:53:09.981 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:53:09.982 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:53:10.602 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$b4dce8dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:53:10.623 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:53:10.624 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:53:10.625 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:53:10.638 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:53:10.667 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:53:10.671 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:53:10.693 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:53:10.856 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:53:10.864 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:53:10.864 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:53:10.937 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:53:10.939 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 920 ms -2024-05-27 20:53:10.966 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:53:11.020 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:53:11.024 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:53:11.706 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:53:11.712 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.001 seconds (JVM running for 2.377) -2024-05-27 20:53:11.714 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:53:11.773 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:53:11.780 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:53:11.789 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:53:11.791 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:53:11.792 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:53:11.802 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:53:11.823 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:53:11.824 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:53:11.824 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:53:11.824 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:111 MS -2024-05-27 20:53:26.569 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:54:05.492 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:54:05.493 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:54:05.494 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:54:05.494 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:54:05.494 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:54:05.495 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:54:05.498 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:54:12.645 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 30064 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:54:12.646 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:54:12.647 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:54:13.162 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$b4dce8dd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:54:13.181 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:54:13.182 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:54:13.183 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:54:13.195 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:54:13.226 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:54:13.228 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:54:13.248 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:54:13.401 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:54:13.407 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:54:13.407 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:54:13.488 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:54:13.489 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 812 ms -2024-05-27 20:54:13.524 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:54:13.587 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:54:13.592 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:54:14.334 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:54:14.340 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.961 seconds (JVM running for 2.345) -2024-05-27 20:54:14.343 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:54:14.414 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:54:14.424 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:54:14.434 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:54:14.437 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:54:14.438 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:54:14.441 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:54:14.462 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:54:14.462 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:54:14.463 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:54:14.463 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:122 MS -2024-05-27 20:54:33.688 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 20:57:28.883 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 20:57:28.887 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 20:57:28.889 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 20:57:28.889 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 20:57:28.889 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 20:57:28.890 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 20:57:28.894 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 20:57:35.970 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 25320 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 20:57:35.971 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 20:57:35.971 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 20:57:36.441 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$3e26a9e9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:57:36.458 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:57:36.459 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:57:36.460 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:57:36.471 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:57:36.500 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:57:36.502 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 20:57:36.523 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 20:57:36.681 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 20:57:36.687 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 20:57:36.689 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 20:57:36.762 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 20:57:36.763 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 764 ms -2024-05-27 20:57:36.792 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 20:57:36.845 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 20:57:36.850 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 20:57:37.517 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 20:57:37.523 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.795 seconds (JVM running for 2.151) -2024-05-27 20:57:37.525 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 20:57:37.589 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 20:57:37.597 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 20:57:37.608 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 20:57:37.610 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 20:57:37.612 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 20:57:37.615 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 20:57:37.635 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 20:57:37.635 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 20:57:37.636 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 20:57:37.636 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:112 MS -2024-05-27 20:57:43.200 [http-nio-8999-exec-2] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 21:16:03.948 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 21:16:03.950 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 21:16:03.951 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 21:16:03.951 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 21:16:03.951 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 21:16:03.952 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:16:03.956 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:16:11.149 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 5864 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:16:11.150 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:16:11.150 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:16:11.667 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6c1daa77] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:16:11.684 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:16:11.685 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:16:11.686 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:16:11.697 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:16:11.727 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:16:11.730 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:16:11.751 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:16:11.908 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:16:11.915 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:16:11.915 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:16:11.990 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:16:11.990 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 812 ms -2024-05-27 21:16:12.016 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:16:12.066 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:16:12.070 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:16:12.737 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 21:16:12.743 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.849 seconds (JVM running for 2.344) -2024-05-27 21:16:12.746 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 21:16:12.815 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 21:16:12.823 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 21:16:12.832 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 21:16:12.835 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 21:16:12.836 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 21:16:12.839 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 21:16:12.859 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 21:16:12.859 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 21:16:12.859 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 21:16:12.860 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:115 MS -2024-05-27 21:16:32.745 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 21:17:04.842 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 21:17:04.844 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 21:17:04.844 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 21:17:04.845 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 21:17:04.845 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 21:17:04.846 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:17:04.851 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:17:12.183 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 26868 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:17:12.186 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:17:12.187 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:17:12.745 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$3e26a9e9] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:17:12.765 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:17:12.766 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:17:12.768 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:17:12.778 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:17:12.807 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:17:12.809 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:17:12.828 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:17:12.983 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:17:12.990 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:17:12.991 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:17:13.064 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:17:13.064 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 834 ms -2024-05-27 21:17:13.092 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:17:13.143 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:17:13.148 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:17:13.789 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 21:17:13.796 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 1.9 seconds (JVM running for 2.265) -2024-05-27 21:17:13.798 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 21:17:13.857 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 21:17:13.865 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 21:17:13.874 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 21:17:13.877 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 21:17:13.877 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 21:17:13.881 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 21:17:13.900 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 21:17:13.900 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 21:17:13.900 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 21:17:13.900 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:103 MS -2024-05-27 21:17:30.875 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 21:41:22.702 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 21:41:22.706 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 21:41:22.708 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 21:41:22.708 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 21:41:22.708 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 21:41:22.712 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:41:22.719 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:41:30.401 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 18728 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:41:30.404 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:41:30.404 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:41:31.013 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode -2024-05-27 21:41:31.016 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. -2024-05-27 21:41:31.046 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 15 ms. Found 0 Redis repository interfaces. -2024-05-27 21:41:31.222 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$83137ca3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:41:31.246 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:41:31.247 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:41:31.249 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:41:31.259 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:41:31.293 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:41:31.296 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:41:31.314 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:41:31.505 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:41:31.513 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:41:31.514 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:41:31.590 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:41:31.590 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1149 ms -2024-05-27 21:41:31.618 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:41:31.672 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:41:31.675 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:41:31.786 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 21:41:31.786 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:41:31.790 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:41:31.792 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 21:41:31.798 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 21:41:31.809 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - +2024-05-28 08:36:06.615 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - *************************** APPLICATION FAILED TO START @@ -982,33 +106,50 @@ Action: Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. -2024-05-27 21:45:15.283 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 30556 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:45:15.286 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:45:15.286 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:45:15.882 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$d632d315] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:45:15.901 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:45:15.902 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:45:15.903 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:45:15.915 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:45:15.949 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:45:15.951 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:45:15.978 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:45:16.133 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:45:16.139 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:45:16.140 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:45:16.216 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:45:16.216 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 902 ms -2024-05-27 21:45:16.245 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:45:16.296 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:45:16.300 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:45:16.412 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 21:45:16.412 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:45:16.414 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:45:16.416 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 21:45:16.422 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 08:37:21.906 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 14748 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:37:21.907 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:37:21.908 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:37:22.293 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:37:22.295 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:37:22.321 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 08:37:22.493 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$9f4fe533] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:37:22.569 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:37:22.570 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:37:22.571 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:37:22.582 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:37:22.612 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:37:22.615 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:37:22.635 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:37:22.789 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:37:22.798 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:37:22.798 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:37:22.882 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:37:22.882 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 949 ms +2024-05-28 08:37:22.908 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:37:23.079 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:37:23.083 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:37:23.198 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} +2024-05-28 08:37:23.198 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:37:23.200 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:37:23.201 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] +2024-05-28 08:37:23.203 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [H2 TCP Server (tcp://10.3.44.57:59737)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/sun.nio.ch.Net.accept(Native Method) + java.base@17.0.10/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:675) + java.base@17.0.10/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:617) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:574) + java.base@17.0.10/java.net.ServerSocket.accept(ServerSocket.java:532) + app//org.h2.server.TcpServer.listen(TcpServer.java:263) + app//org.h2.tools.Server.run(Server.java:610) + java.base@17.0.10/java.lang.Thread.run(Thread.java:842) +2024-05-28 08:37:23.203 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [MVStore background writer nio:C:/Users/86157/vehicle/db.mv.db] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/java.lang.Object.wait(Native Method) + app//org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3283) +2024-05-28 08:37:23.207 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 21:45:16.434 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - +2024-05-28 08:37:23.219 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - *************************** APPLICATION FAILED TO START @@ -1026,33 +167,50 @@ Action: Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. -2024-05-27 21:48:40.857 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 30524 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:48:40.860 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:48:40.860 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:48:41.673 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$24024b58] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:48:41.711 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:48:41.712 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:48:41.714 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:48:41.728 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:48:41.771 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:48:41.782 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:48:41.806 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:48:41.991 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:48:41.997 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:48:41.997 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:48:42.076 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:48:42.076 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1182 ms -2024-05-27 21:48:42.106 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:48:42.158 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:48:42.162 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:48:42.267 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 21:48:42.267 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:48:42.271 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:48:42.273 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 21:48:42.278 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 08:40:10.989 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 9828 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:40:10.990 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:40:10.991 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:40:11.363 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:40:11.364 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:40:11.390 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 08:40:11.570 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6210a397] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:40:11.633 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:40:11.634 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:40:11.636 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:40:11.648 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:40:11.679 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:40:11.682 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:40:11.701 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:40:11.863 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:40:11.870 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:40:11.871 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:40:11.946 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:40:11.946 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 925 ms +2024-05-28 08:40:11.972 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:40:12.136 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:40:12.140 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:40:12.244 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} +2024-05-28 08:40:12.246 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:40:12.247 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:40:12.249 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] +2024-05-28 08:40:12.250 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [H2 TCP Server (tcp://10.3.44.57:64755)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/sun.nio.ch.Net.accept(Native Method) + java.base@17.0.10/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:675) + java.base@17.0.10/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:617) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:574) + java.base@17.0.10/java.net.ServerSocket.accept(ServerSocket.java:532) + app//org.h2.server.TcpServer.listen(TcpServer.java:263) + app//org.h2.tools.Server.run(Server.java:610) + java.base@17.0.10/java.lang.Thread.run(Thread.java:842) +2024-05-28 08:40:12.250 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [MVStore background writer nio:C:/Users/86157/vehicle/db.mv.db] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/java.lang.Object.wait(Native Method) + app//org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3283) +2024-05-28 08:40:12.255 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 21:48:42.289 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - +2024-05-28 08:40:12.265 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - *************************** APPLICATION FAILED TO START @@ -1070,33 +228,50 @@ Action: Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. -2024-05-27 21:49:23.834 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 24660 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:49:23.836 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:49:23.837 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:49:24.561 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$eca0652f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:49:24.589 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:49:24.591 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:49:24.593 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:49:24.609 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:49:24.659 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:49:24.663 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:49:24.685 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:49:24.889 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:49:24.895 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:49:24.897 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:49:24.981 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:49:24.981 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1112 ms -2024-05-27 21:49:25.016 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:49:25.080 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:49:25.085 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:49:25.233 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 21:49:25.234 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:49:25.239 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:49:25.241 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 21:49:25.248 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 08:41:19.367 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 8088 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:41:19.368 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:41:19.370 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:41:19.748 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:41:19.750 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:41:19.774 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +2024-05-28 08:41:19.966 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6210a397] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:41:20.034 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:41:20.035 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:41:20.036 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:41:20.050 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:41:20.078 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:41:20.081 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:41:20.101 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:41:20.272 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:41:20.279 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:41:20.280 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:41:20.362 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:41:20.363 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 966 ms +2024-05-28 08:41:20.392 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:41:20.559 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:41:20.563 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:41:20.678 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} +2024-05-28 08:41:20.678 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:41:20.680 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:41:20.681 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] +2024-05-28 08:41:20.683 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [H2 TCP Server (tcp://10.3.44.57:64812)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/sun.nio.ch.Net.accept(Native Method) + java.base@17.0.10/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:675) + java.base@17.0.10/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:617) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:574) + java.base@17.0.10/java.net.ServerSocket.accept(ServerSocket.java:532) + app//org.h2.server.TcpServer.listen(TcpServer.java:263) + app//org.h2.tools.Server.run(Server.java:610) + java.base@17.0.10/java.lang.Thread.run(Thread.java:842) +2024-05-28 08:41:20.683 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [MVStore background writer nio:C:/Users/86157/vehicle/db.mv.db] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/java.lang.Object.wait(Native Method) + app//org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3283) +2024-05-28 08:41:20.688 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 21:49:25.260 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - +2024-05-28 08:41:20.699 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - *************************** APPLICATION FAILED TO START @@ -1114,33 +289,199 @@ Action: Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. -2024-05-27 21:56:50.503 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 28768 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:56:50.506 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:56:50.507 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:56:51.268 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$d632d315] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:56:51.293 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:56:51.295 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:56:51.296 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:56:51.308 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:56:51.342 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:56:51.346 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:56:51.373 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:56:51.537 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:56:51.544 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:56:51.544 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:56:51.618 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:56:51.619 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1055 ms -2024-05-27 21:56:51.652 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:56:51.712 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:56:51.716 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:56:51.825 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 21:56:51.825 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:56:51.828 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:56:51.830 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 21:56:51.835 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 08:45:51.302 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 10628 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:45:51.304 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.28 +2024-05-28 08:45:51.305 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:45:51.729 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:45:51.731 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:45:51.752 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 08:45:51.940 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$90aa2b8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:45:52.019 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:45:52.019 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:45:52.021 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:45:52.032 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:45:52.061 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:45:52.064 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:45:52.084 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:45:52.245 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:45:52.251 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:45:52.252 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:45:52.327 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:45:52.327 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 993 ms +2024-05-28 08:45:52.355 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:45:52.516 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:45:52.521 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:45:53.011 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'vehicleController': Unsatisfied dependency expressed through field 'vehicleService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'vechileServiceImpl': Unsatisfied dependency expressed through field 'vehicleInstanceService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'vehicleInstanceServiceImpl': Unsatisfied dependency expressed through field 'positionRouteService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'positionRouteServiceImpl' defined in file [D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes\com\muyu\service\impl\PositionRouteServiceImpl.class]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: 'boolean org.springframework.util.ClassUtils.isLambdaClass(java.lang.Class)' +2024-05-28 08:45:53.014 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:45:53.016 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:45:53.018 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] +2024-05-28 08:45:53.019 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [H2 TCP Server (tcp://10.3.44.57:65123)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/sun.nio.ch.Net.accept(Native Method) + java.base@17.0.10/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:675) + java.base@17.0.10/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:617) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:574) + java.base@17.0.10/java.net.ServerSocket.accept(ServerSocket.java:532) + app//org.h2.server.TcpServer.listen(TcpServer.java:263) + app//org.h2.tools.Server.run(Server.java:610) + java.base@17.0.10/java.lang.Thread.run(Thread.java:842) +2024-05-28 08:45:53.020 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [MVStore background writer nio:C:/Users/86157/vehicle/db.mv.db] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/java.lang.Object.wait(Native Method) + app//org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3283) +2024-05-28 08:45:53.024 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 21:56:51.847 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - +2024-05-28 08:45:53.034 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +An attempt was made to call a method that does not exist. The attempt was made from the following location: + + org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:448) + +The following method did not exist: + + 'boolean org.springframework.util.ClassUtils.isLambdaClass(java.lang.Class)' + +The calling method's class, org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator, was loaded from the following location: + + jar:file:/D:/maven/repository/org/springframework/spring-aop/5.3.28/spring-aop-5.3.28.jar!/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.class + +The called method's class, org.springframework.util.ClassUtils, is available from the following locations: + + jar:file:/D:/maven/repository/org/springframework/spring-core/5.3.16/spring-core-5.3.16.jar!/org/springframework/util/ClassUtils.class + +The called method's class hierarchy was loaded from the following locations: + + org.springframework.util.ClassUtils: file:/D:/maven/repository/org/springframework/spring-core/5.3.16/spring-core-5.3.16.jar + + +Action: + +Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator and org.springframework.util.ClassUtils + +2024-05-28 08:46:55.503 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 17124 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:46:55.505 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.28 +2024-05-28 08:46:55.505 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:46:55.894 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:46:55.896 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:46:55.917 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 08:46:56.101 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$90aa2b8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:46:56.177 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:46:56.178 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:46:56.179 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:46:56.190 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:46:56.218 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:46:56.221 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:46:56.242 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:46:56.397 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:46:56.402 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:46:56.404 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:46:56.477 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:46:56.478 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 944 ms +2024-05-28 08:46:56.506 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:46:56.669 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:46:56.673 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:46:57.137 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'vehicleController': Unsatisfied dependency expressed through field 'vehicleService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'vechileServiceImpl': Unsatisfied dependency expressed through field 'vehicleInstanceService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'vehicleInstanceServiceImpl': Unsatisfied dependency expressed through field 'positionRouteService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'positionRouteServiceImpl' defined in file [D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes\com\muyu\service\impl\PositionRouteServiceImpl.class]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: 'boolean org.springframework.util.ClassUtils.isLambdaClass(java.lang.Class)' +2024-05-28 08:46:57.145 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:46:57.146 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:46:57.147 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] +2024-05-28 08:46:57.149 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [H2 TCP Server (tcp://10.3.44.57:61796)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/sun.nio.ch.Net.accept(Native Method) + java.base@17.0.10/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:675) + java.base@17.0.10/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:617) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:574) + java.base@17.0.10/java.net.ServerSocket.accept(ServerSocket.java:532) + app//org.h2.server.TcpServer.listen(TcpServer.java:263) + app//org.h2.tools.Server.run(Server.java:610) + java.base@17.0.10/java.lang.Thread.run(Thread.java:842) +2024-05-28 08:46:57.149 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [MVStore background writer nio:C:/Users/86157/vehicle/db.mv.db] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/java.lang.Object.wait(Native Method) + app//org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3283) +2024-05-28 08:46:57.153 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 08:46:57.161 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - + +*************************** +APPLICATION FAILED TO START +*************************** + +Description: + +An attempt was made to call a method that does not exist. The attempt was made from the following location: + + org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:448) + +The following method did not exist: + + 'boolean org.springframework.util.ClassUtils.isLambdaClass(java.lang.Class)' + +The calling method's class, org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator, was loaded from the following location: + + jar:file:/D:/maven/repository/org/springframework/spring-aop/5.3.28/spring-aop-5.3.28.jar!/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.class + +The called method's class, org.springframework.util.ClassUtils, is available from the following locations: + + jar:file:/D:/maven/repository/org/springframework/spring-core/5.3.16/spring-core-5.3.16.jar!/org/springframework/util/ClassUtils.class + +The called method's class hierarchy was loaded from the following locations: + + org.springframework.util.ClassUtils: file:/D:/maven/repository/org/springframework/spring-core/5.3.16/spring-core-5.3.16.jar + + +Action: + +Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator and org.springframework.util.ClassUtils + +2024-05-28 08:47:27.074 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 22584 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:47:27.076 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:47:27.076 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:47:27.617 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$3dceb404] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:27.636 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:27.636 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:27.637 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:27.649 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:27.679 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:27.681 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:27.700 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:47:27.868 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:47:27.874 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:47:27.875 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:47:27.950 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:47:27.950 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 842 ms +2024-05-28 08:47:27.979 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:47:28.141 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:47:28.145 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:47:28.243 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} +2024-05-28 08:47:28.243 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:47:28.244 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:47:28.246 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] +2024-05-28 08:47:28.248 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [H2 TCP Server (tcp://10.3.44.57:61838)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/sun.nio.ch.Net.accept(Native Method) + java.base@17.0.10/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:675) + java.base@17.0.10/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:617) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:574) + java.base@17.0.10/java.net.ServerSocket.accept(ServerSocket.java:532) + app//org.h2.server.TcpServer.listen(TcpServer.java:263) + app//org.h2.tools.Server.run(Server.java:610) + java.base@17.0.10/java.lang.Thread.run(Thread.java:842) +2024-05-28 08:47:28.248 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [MVStore background writer nio:C:/Users/86157/vehicle/db.mv.db] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/java.lang.Object.wait(Native Method) + app//org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3283) +2024-05-28 08:47:28.252 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 08:47:28.262 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - *************************** APPLICATION FAILED TO START @@ -1158,33 +499,93 @@ Action: Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. -2024-05-27 21:59:00.819 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 29984 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:59:00.820 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:59:00.821 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:59:01.460 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$57c71626] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:01.480 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:01.481 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:01.482 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:01.498 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:01.557 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:01.564 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:01.594 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:59:01.852 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:59:01.861 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:59:01.862 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:59:01.992 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:59:01.993 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1140 ms -2024-05-27 21:59:02.039 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:59:02.131 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:59:02.137 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:59:02.274 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 21:59:02.276 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:59:02.279 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:59:02.282 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 21:59:02.289 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 08:47:45.216 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 9564 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:47:45.218 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:47:45.219 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:47:45.629 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:47:45.631 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:47:45.654 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +2024-05-28 08:47:45.830 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$70d108e4] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:45.897 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:45.898 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:45.899 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:45.911 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:45.941 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:45.944 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:47:45.965 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:47:46.131 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:47:46.137 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:47:46.138 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:47:46.212 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:47:46.212 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 965 ms +2024-05-28 08:47:46.237 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:47:46.398 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:47:46.402 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:47:47.295 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 08:47:47.301 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.308 seconds (JVM running for 2.655) +2024-05-28 08:47:47.304 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 08:47:47.364 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 08:47:47.373 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 08:47:47.380 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 08:47:47.382 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 08:47:47.382 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 08:47:47.384 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 08:47:47.409 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] +2024-05-28 08:47:47.409 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 08:47:47.409 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 08:47:47.409 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:106 MS +2024-05-28 08:48:00.148 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 08:48:17.941 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 08:48:17.947 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 08:48:17.949 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[2MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 08:48:17.949 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 08:48:17.949 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 08:48:17.959 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:48:17.960 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:48:25.456 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 23068 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:48:25.458 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:48:25.458 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:48:25.824 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:48:25.825 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:48:25.848 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +2024-05-28 08:48:26.026 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$4f0d6d32] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:26.094 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:26.095 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:26.096 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:26.106 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:26.134 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:26.137 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:26.157 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:48:26.319 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:48:26.326 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:48:26.327 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:48:26.400 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:48:26.401 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 914 ms +2024-05-28 08:48:26.428 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:48:26.590 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:48:26.594 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:48:26.696 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} +2024-05-28 08:48:26.697 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:48:26.698 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:48:26.699 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] +2024-05-28 08:48:26.701 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [H2 TCP Server (tcp://10.3.44.57:61883)] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/sun.nio.ch.Net.accept(Native Method) + java.base@17.0.10/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:760) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:675) + java.base@17.0.10/java.net.ServerSocket.platformImplAccept(ServerSocket.java:641) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:617) + java.base@17.0.10/java.net.ServerSocket.implAccept(ServerSocket.java:574) + java.base@17.0.10/java.net.ServerSocket.accept(ServerSocket.java:532) + app//org.h2.server.TcpServer.listen(TcpServer.java:263) + app//org.h2.tools.Server.run(Server.java:610) + java.base@17.0.10/java.lang.Thread.run(Thread.java:842) +2024-05-28 08:48:26.701 [main] WARN org.apache.catalina.loader.WebappClassLoaderBase:173 - The web application [ROOT] appears to have started a thread named [MVStore background writer nio:C:/Users/86157/vehicle/db.mv.db] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: + java.base@17.0.10/java.lang.Object.wait(Native Method) + app//org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3283) +2024-05-28 08:48:26.706 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 21:59:02.304 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - +2024-05-28 08:48:26.716 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - *************************** APPLICATION FAILED TO START @@ -1202,401 +603,1208 @@ Action: Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. -2024-05-27 21:59:31.555 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 33620 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 21:59:31.557 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 21:59:31.557 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 21:59:32.156 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$57c71626] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:32.178 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:32.179 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:32.180 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:32.191 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:32.222 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:32.229 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 21:59:32.255 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 21:59:32.425 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 21:59:32.435 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 21:59:32.436 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 21:59:32.511 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 21:59:32.512 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 929 ms -2024-05-27 21:59:32.545 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 21:59:32.599 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 21:59:32.603 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 21:59:32.713 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 21:59:32.714 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 21:59:32.715 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 21:59:32.718 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 21:59:32.723 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 08:48:55.047 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 19304 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:48:55.049 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:48:55.049 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:48:55.463 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:48:55.465 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:48:55.491 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 08:48:55.689 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$19be1b40] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:55.763 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:55.765 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:55.767 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:55.778 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:55.812 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:55.815 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:48:55.837 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:48:56.026 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:48:56.031 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:48:56.032 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:48:56.109 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:48:56.110 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1031 ms +2024-05-28 08:48:56.140 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:48:56.314 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:48:56.318 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:48:57.264 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 08:48:57.271 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.483 seconds (JVM running for 2.878) +2024-05-28 08:48:57.273 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 08:48:57.333 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 08:48:57.342 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 08:48:57.352 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 08:48:57.354 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 08:48:57.355 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 08:48:57.355 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 08:48:57.378 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] +2024-05-28 08:48:57.378 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 08:48:57.378 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 08:48:57.378 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:106 MS +2024-05-28 08:49:00.146 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 08:53:08.557 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 08:53:08.560 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 08:53:08.561 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 08:53:08.561 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 08:53:08.562 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 08:53:08.570 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:53:08.572 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:53:16.019 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 19112 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:53:16.021 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:53:16.021 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:53:16.419 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:53:16.421 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:53:16.447 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 08:53:16.619 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$bc4efc57] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:53:16.698 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:53:16.699 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:53:16.700 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:53:16.711 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:53:16.741 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:53:16.744 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:53:16.765 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:53:16.926 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:53:16.933 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:53:16.933 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:53:17.016 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:53:17.016 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 966 ms +2024-05-28 08:53:17.043 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:53:17.203 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:53:17.207 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:53:18.141 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 08:53:18.147 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.381 seconds (JVM running for 2.858) +2024-05-28 08:53:18.151 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 08:53:18.217 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 08:53:18.228 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 08:53:18.238 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 08:53:18.240 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 08:53:18.240 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 08:53:18.242 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 08:53:18.266 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] +2024-05-28 08:53:18.266 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 08:53:18.266 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 08:53:18.266 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:117 MS +2024-05-28 08:53:36.676 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 08:55:58.092 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 08:55:58.093 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 08:55:58.094 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 08:55:58.094 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 08:55:58.095 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 08:55:58.103 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:55:58.104 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:56:03.305 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 460 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:56:03.307 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:56:03.307 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:56:03.734 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:56:03.736 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:56:03.758 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 08:56:03.950 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$36bdf85b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:56:04.019 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:56:04.020 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:56:04.022 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:56:04.033 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:56:04.064 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:56:04.068 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:56:04.090 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:56:04.292 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:56:04.299 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:56:04.299 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:56:04.379 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:56:04.380 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1040 ms +2024-05-28 08:56:04.409 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:56:04.588 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:56:04.593 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:56:05.707 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 08:56:05.714 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.664 seconds (JVM running for 3.456) +2024-05-28 08:56:05.717 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 08:56:05.784 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 08:56:05.794 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 08:56:05.805 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 08:56:05.807 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 08:56:05.808 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 08:56:05.809 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 08:56:05.833 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] +2024-05-28 08:56:05.833 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 08:56:05.833 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 08:56:05.833 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:118 MS +2024-05-28 08:56:21.995 [http-nio-8999-exec-2] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 08:57:27.975 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 08:57:27.977 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 08:57:27.979 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[2MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 08:57:27.979 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 08:57:27.980 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 08:57:27.990 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 08:57:27.991 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 08:57:35.658 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 8764 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 08:57:35.659 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 08:57:35.659 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 08:57:36.093 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 08:57:36.096 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 08:57:36.120 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. +2024-05-28 08:57:36.307 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$36bdf85b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:57:36.381 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:57:36.382 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:57:36.384 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:57:36.397 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:57:36.429 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:57:36.432 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 08:57:36.453 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 08:57:36.639 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 08:57:36.645 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 08:57:36.646 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 08:57:36.726 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 08:57:36.726 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1035 ms +2024-05-28 08:57:36.757 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 08:57:36.932 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 08:57:36.936 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 08:57:37.990 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 08:57:37.997 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.607 seconds (JVM running for 3.068) +2024-05-28 08:57:38.000 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 08:57:38.064 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 08:57:38.078 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 08:57:38.089 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 08:57:38.091 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 08:57:38.091 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 08:57:38.093 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 08:57:38.115 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] +2024-05-28 08:57:38.115 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 08:57:38.115 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 08:57:38.116 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:118 MS +2024-05-28 08:58:00.147 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 09:02:31.884 [http-nio-8999-exec-10] INFO com.muyu.service.impl.VehicleInstanceServiceImpl:102 - vin[VIN123456789DIJE4],开始上线 +2024-05-28 09:02:31.905 [http-nio-8999-exec-10] INFO com.dtflys.forest.config.ForestConfiguration:449 - [Forest] Http Backend: okhttp3 +2024-05-28 09:02:32.409 [http-nio-8999-exec-10] DEBUG com.muyu.vehicle.VehicleInstance:140 - 车辆:[VIN123456789DIJE4] 客户端初始化成功连接配置:{"broker":"tcp://47.102.133.88:1883","clientId":"VIN123456789DIJE4","password":"VIN123456789DIJE41716858151885AC36D580C390FD139F5CEA1032BD7B7679C432EC06AFF3F531B1D390","qos":0,"topic":"test1","username":"CE5CA4B628090BFD4C75524BC952218312B4923A01EFFD7E37025714"} +2024-05-28 09:02:32.409 [http-nio-8999-exec-10] INFO com.muyu.service.impl.VehicleInstanceServiceImpl:130 - vin[VIN123456789DIJE4],上线成功 +2024-05-28 09:11:32.582 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 09:11:32.584 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 09:11:32.587 [SpringApplicationShutdownHook] WARN c.b.m.core.toolkit.support.ReflectLambdaMeta:26 - Unable to make field private final java.lang.Class java.lang.invoke.SerializedLambda.capturingClass accessible: module java.base does not "opens java.lang.invoke" to unnamed module @557caf28 +2024-05-28 09:11:32.592 [SpringApplicationShutdownHook] DEBUG com.muyu.mapper.VehicleMapper.update:137 - ==> Preparing: UPDATE vehicle SET remaining_battery=?,total_mileage=? WHERE (vin = ?) +2024-05-28 09:11:32.594 [SpringApplicationShutdownHook] DEBUG com.muyu.mapper.VehicleMapper.update:137 - ==> Parameters: 45000.0(BigDecimal), 23.696(BigDecimal), VIN123456789DIJE4(String) +2024-05-28 09:11:32.595 [SpringApplicationShutdownHook] DEBUG com.muyu.mapper.VehicleMapper.update:137 - <== Updates: 1 +2024-05-28 09:11:32.596 [SpringApplicationShutdownHook] DEBUG com.muyu.service.impl.VechileServiceImpl:106 - 车辆:[VIN123456789DIJE4] - 数据同步成功 - 电池容量:[45000.0毫安] 总公里数量:[23.696KM] +2024-05-28 09:11:32.596 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[12MS],同步量:[1辆],成功:[1辆],失败:[0辆] +2024-05-28 09:11:32.596 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 09:11:32.597 [SpringApplicationShutdownHook] DEBUG com.muyu.vehicle.VehicleInstance:176 - 车辆:[VIN123456789DIJE4] 客户端下线成功 +2024-05-28 09:11:32.597 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 09:11:32.610 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 09:11:32.611 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 09:11:40.486 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 13876 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 09:11:40.487 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 09:11:40.488 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 09:11:40.923 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 09:11:40.925 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 09:11:40.950 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 09:11:41.148 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$36bdf85b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:11:41.225 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:11:41.226 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:11:41.228 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:11:41.242 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:11:41.272 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:11:41.276 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:11:41.297 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 09:11:41.496 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 09:11:41.503 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 09:11:41.503 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 09:11:41.590 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 09:11:41.590 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1068 ms +2024-05-28 09:11:41.620 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 09:11:41.796 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 09:11:41.800 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 09:11:42.948 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 09:11:42.956 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.746 seconds (JVM running for 3.264) +2024-05-28 09:11:42.960 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 09:11:43.025 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 09:11:43.035 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 09:11:43.046 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 09:11:43.048 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 09:11:43.048 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 09:11:43.049 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 09:11:43.086 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] +2024-05-28 09:11:43.086 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 09:11:43.086 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 09:11:43.086 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:129 MS +2024-05-28 09:12:00.155 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 09:19:10.238 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 09:19:10.240 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 09:19:10.241 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[0MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 09:19:10.241 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 09:19:10.242 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 09:19:10.252 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 09:19:10.254 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 09:19:17.890 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 24940 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 09:19:17.891 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 09:19:17.891 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 09:19:18.285 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 09:19:18.288 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 09:19:18.310 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 09:19:18.515 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$36bdf85b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:19:18.591 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:19:18.592 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:19:18.593 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:19:18.605 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:19:18.638 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:19:18.642 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:19:18.663 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 09:19:18.853 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 09:19:18.859 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 09:19:18.861 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 09:19:18.939 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 09:19:18.939 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1020 ms +2024-05-28 09:19:18.971 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 09:19:19.144 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 09:19:19.148 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 09:19:20.231 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 09:19:20.239 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.599 seconds (JVM running for 3.043) +2024-05-28 09:19:20.241 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 09:19:20.305 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 09:19:20.315 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 09:19:20.326 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 09:19:20.328 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 09:19:20.328 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 09:19:20.329 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 09:19:20.352 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] +2024-05-28 09:19:20.353 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 09:19:20.353 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 09:19:20.353 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:113 MS +2024-05-28 09:20:00.156 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 09:54:32.577 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 09:54:32.585 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 09:54:32.587 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 09:54:32.588 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 09:54:32.588 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 09:54:32.609 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 09:54:32.611 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 09:57:29.286 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 12728 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 09:57:29.289 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 09:57:29.289 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 09:57:29.734 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 09:57:29.736 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 09:57:29.759 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 09:57:29.939 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$bc4efc57] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:57:30.005 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:57:30.006 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:57:30.007 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:57:30.022 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:57:30.052 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:57:30.055 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:57:30.075 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 09:57:30.256 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 09:57:30.263 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 09:57:30.263 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 09:57:30.345 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 09:57:30.345 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1014 ms +2024-05-28 09:57:30.371 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 09:57:30.536 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 09:57:30.539 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 09:57:31.512 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 09:57:31.519 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.617 seconds (JVM running for 3.067) +2024-05-28 09:57:32.376 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 21:59:32.735 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field redisTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. - -2024-05-27 22:00:03.178 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 33036 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 22:00:03.180 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 22:00:03.180 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 22:00:03.798 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$57c71626] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:00:03.820 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:00:03.822 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:00:03.823 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:00:03.835 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:00:03.868 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:00:03.872 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:00:03.905 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 22:00:04.080 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 22:00:04.090 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 22:00:04.092 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 22:00:04.165 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 22:00:04.165 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 952 ms -2024-05-27 22:00:04.197 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 22:00:04.252 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 22:00:04.257 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 22:00:04.366 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 22:00:04.366 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 22:00:04.369 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 22:00:04.371 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 22:00:04.376 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 09:57:32.386 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:113) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 09:57:32.402 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 09:57:32.408 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 09:57:32.413 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 09:57:32.413 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 09:57:32.413 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 09:57:32.421 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 09:57:32.422 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 09:58:21.989 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 25024 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 09:58:21.990 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 09:58:21.991 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 09:58:22.420 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 09:58:22.422 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 09:58:22.445 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 09:58:22.635 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$b84c5c64] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:58:22.712 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:58:22.713 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:58:22.714 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:58:22.726 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:58:22.757 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:58:22.761 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:58:22.782 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 09:58:22.963 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 09:58:22.970 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 09:58:22.970 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 09:58:23.058 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 09:58:23.058 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1035 ms +2024-05-28 09:58:23.091 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 09:58:23.267 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 09:58:23.271 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 09:58:24.364 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 09:58:24.377 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.641 seconds (JVM running for 3.111) +2024-05-28 09:59:05.331 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 22:00:04.388 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field redisTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. - -2024-05-27 22:03:17.007 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 22304 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 22:03:17.008 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 22:03:17.009 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 22:03:17.405 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode -2024-05-27 22:03:17.407 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. -2024-05-27 22:03:17.437 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. -2024-05-27 22:03:17.625 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6210a397] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:03:17.695 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:03:17.696 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:03:17.697 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:03:17.709 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:03:17.738 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:03:17.741 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:03:17.761 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 22:03:17.926 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 22:03:17.933 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 22:03:17.934 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 22:03:18.010 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 22:03:18.010 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 971 ms -2024-05-27 22:03:18.037 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 22:03:18.094 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 22:03:18.098 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 22:03:18.219 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 22:03:18.219 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 22:03:18.225 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 22:03:18.227 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 22:03:18.233 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 09:59:05.343 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:113) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 09:59:05.365 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 09:59:05.372 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 09:59:05.377 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 09:59:05.377 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 09:59:05.377 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 09:59:05.387 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 09:59:05.388 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 09:59:12.719 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 5412 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 09:59:12.719 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 09:59:12.720 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 09:59:13.135 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 09:59:13.137 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 09:59:13.161 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 09:59:13.353 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6a40dcac] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:59:13.428 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:59:13.430 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:59:13.431 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:59:13.444 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:59:13.473 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:59:13.477 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 09:59:13.497 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 09:59:13.681 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 09:59:13.688 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 09:59:13.688 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 09:59:13.767 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 09:59:13.767 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1016 ms +2024-05-28 09:59:13.795 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 09:59:13.963 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 09:59:13.967 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 09:59:15.063 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 09:59:15.072 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.612 seconds (JVM running for 3.082) +2024-05-28 10:00:21.058 [HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool:788 - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=1m6s989ms893µs). +2024-05-28 10:00:21.061 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 22:03:18.243 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field redisTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. - -2024-05-27 22:06:34.747 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 28224 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 22:06:34.750 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 22:06:34.750 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 22:06:35.251 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode -2024-05-27 22:06:35.253 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. -2024-05-27 22:06:35.280 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. -2024-05-27 22:06:35.445 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$3f5bad9f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:06:35.516 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:06:35.517 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:06:35.518 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:06:35.529 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:06:35.560 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:06:35.564 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:06:35.586 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 22:06:35.753 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 22:06:35.759 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 22:06:35.760 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 22:06:35.837 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 22:06:35.839 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1043 ms -2024-05-27 22:06:35.864 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 22:06:35.917 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 22:06:35.922 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 22:06:36.022 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 22:06:36.023 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 22:06:36.024 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 22:06:36.025 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 22:06:36.031 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 10:00:21.074 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:113) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:00:21.222 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:00:21.229 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:00:21.236 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[5MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:00:21.236 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:00:21.237 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:00:21.247 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:00:21.249 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:02:46.906 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 2140 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:02:46.908 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:02:46.908 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:02:47.306 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:02:47.307 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:02:47.335 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. +2024-05-28 10:02:47.517 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8cde373d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:02:47.596 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:02:47.598 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:02:47.599 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:02:47.611 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:02:47.641 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:02:47.644 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:02:47.664 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:02:47.831 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:02:47.836 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:02:47.837 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:02:47.909 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:02:47.910 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 970 ms +2024-05-28 10:02:47.939 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:02:48.102 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:02:48.106 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:02:49.036 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:02:49.043 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.372 seconds (JVM running for 2.733) +2024-05-28 10:02:57.048 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 22:06:36.041 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field redisTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. - -2024-05-27 22:07:22.294 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 13964 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 22:07:22.295 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 22:07:22.296 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 22:07:22.675 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode -2024-05-27 22:07:22.676 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. -2024-05-27 22:07:22.703 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. -2024-05-27 22:07:22.898 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$78a65467] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:22.976 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:22.977 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:22.978 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:22.988 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:23.017 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:23.019 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:23.042 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 22:07:23.215 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 22:07:23.220 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 22:07:23.221 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 22:07:23.301 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 22:07:23.301 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 977 ms -2024-05-27 22:07:23.333 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 22:07:23.392 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 22:07:23.396 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 22:07:23.512 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 22:07:23.513 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 22:07:23.516 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 22:07:23.518 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 22:07:23.524 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 10:02:57.060 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:114) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:02:57.077 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:02:57.083 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:02:57.089 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[3MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:02:57.089 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:02:57.089 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:02:57.099 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:02:57.100 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:05:19.526 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 23504 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:05:19.528 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:05:19.528 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:05:19.907 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:05:19.910 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:05:19.934 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +2024-05-28 10:05:20.110 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8a910754] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:05:20.180 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:05:20.181 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:05:20.182 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:05:20.194 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:05:20.222 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:05:20.225 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:05:20.245 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:05:20.411 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:05:20.418 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:05:20.419 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:05:20.495 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:05:20.496 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 938 ms +2024-05-28 10:05:20.521 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:05:20.682 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:05:20.686 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:05:21.616 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:05:21.622 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.334 seconds (JVM running for 2.69) +2024-05-28 10:05:29.531 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 22:07:23.536 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - - -*************************** -APPLICATION FAILED TO START -*************************** - -Description: - -Field redisTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found. - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) - - -Action: - -Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. - -2024-05-27 22:07:40.586 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 22300 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 22:07:40.588 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 22:07:40.588 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 22:07:41.098 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode -2024-05-27 22:07:41.099 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. -2024-05-27 22:07:41.121 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. -2024-05-27 22:07:41.296 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$147f3b66] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:41.373 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:41.375 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:41.376 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:41.394 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:41.425 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:41.428 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:07:41.448 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 22:07:41.615 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 22:07:41.622 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 22:07:41.622 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 22:07:41.699 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 22:07:41.699 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1076 ms -2024-05-27 22:07:41.726 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 22:07:41.779 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 22:07:41.783 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 22:07:42.887 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 22:07:42.895 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.709 seconds (JVM running for 3.107) -2024-05-27 22:07:42.898 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 22:07:42.965 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 22:07:42.976 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 22:07:42.986 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 22:07:42.988 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 22:07:42.990 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 22:07:42.994 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 22:07:43.028 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 22:07:43.029 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 22:07:43.029 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 22:07:43.029 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:133 MS -2024-05-27 22:07:43.202 [http-nio-8999-exec-2] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 22:25:13.192 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 22:25:13.194 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 22:25:13.195 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 22:25:13.195 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 22:25:13.195 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 22:25:13.197 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 22:25:13.247 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 22:25:21.590 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 32496 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 22:25:21.592 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 22:25:21.593 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 22:25:22.066 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode -2024-05-27 22:25:22.068 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. -2024-05-27 22:25:22.092 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. -2024-05-27 22:25:22.293 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$5e573735] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:25:22.377 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:25:22.378 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:25:22.379 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:25:22.392 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:25:22.423 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:25:22.426 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:25:22.449 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 22:25:22.628 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 22:25:22.634 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 22:25:22.635 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 22:25:22.714 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 22:25:22.714 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1085 ms -2024-05-27 22:25:22.741 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 22:25:22.796 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 22:25:22.800 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 22:25:23.741 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 22:25:23.747 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.613 seconds (JVM running for 3.036) -2024-05-27 22:25:23.751 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 22:25:23.809 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 22:25:23.817 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 22:25:23.827 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 22:25:23.828 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 22:25:23.829 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 22:25:23.832 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 22:25:23.854 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 22:25:23.854 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 22:25:23.855 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 22:25:23.855 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:107 MS -2024-05-27 22:25:43.192 [http-nio-8999-exec-2] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' -2024-05-27 22:27:10.306 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 -2024-05-27 22:27:10.308 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 -2024-05-27 22:27:10.309 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] -2024-05-27 22:27:10.309 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 -2024-05-27 22:27:10.310 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 -2024-05-27 22:27:10.311 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 22:27:10.314 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 22:27:18.909 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 21976 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 22:27:18.911 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 22:27:18.912 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 22:27:19.401 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode -2024-05-27 22:27:19.403 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. -2024-05-27 22:27:19.431 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. -2024-05-27 22:27:19.608 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$9f4fe533] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:27:19.689 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:27:19.691 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:27:19.691 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:27:19.702 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:27:19.730 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:27:19.732 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:27:19.750 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 22:27:19.992 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 22:27:19.999 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 22:27:20.000 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 22:27:20.109 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 22:27:20.109 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1162 ms -2024-05-27 22:27:20.153 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 22:27:20.221 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 22:27:20.227 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 22:27:20.351 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext:591 - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'fluxMqController': Unsatisfied dependency expressed through field 'redisTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.data.redis.core.RedisTemplate>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} -2024-05-27 22:27:20.352 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... -2024-05-27 22:27:20.354 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. -2024-05-27 22:27:20.356 [main] INFO org.apache.catalina.core.StandardService:173 - Stopping service [Tomcat] -2024-05-27 22:27:20.361 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +2024-05-28 10:05:29.542 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:116) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:05:29.558 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:05:29.566 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:05:29.571 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:05:29.571 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:05:29.571 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:05:29.581 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:05:29.582 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:06:24.573 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 24136 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:06:24.575 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:06:24.575 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:06:24.968 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:06:24.970 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:06:24.995 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 10:06:25.182 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8a910754] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:06:25.253 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:06:25.254 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:06:25.255 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:06:25.269 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:06:25.300 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:06:25.303 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:06:25.327 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:06:25.491 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:06:25.497 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:06:25.498 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:06:25.577 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:06:25.577 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 971 ms +2024-05-28 10:06:25.605 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:06:25.764 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:06:25.768 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:06:26.756 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:06:26.763 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.434 seconds (JVM running for 2.796) +2024-05-28 10:06:27.687 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -2024-05-27 22:27:20.372 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter:40 - +2024-05-28 10:06:27.698 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:116) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:06:27.733 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:06:27.740 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:06:27.747 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[5MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:06:27.747 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:06:27.747 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:06:27.756 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:06:27.758 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:08:36.710 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 476 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:08:36.711 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:08:36.712 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:08:37.125 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:08:37.128 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:08:37.153 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 15 ms. Found 0 Redis repository interfaces. +2024-05-28 10:08:37.342 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$ec63866a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:08:37.411 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:08:37.412 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:08:37.413 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:08:37.425 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:08:37.457 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:08:37.460 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:08:37.479 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:08:37.669 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:08:37.676 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:08:37.680 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:08:37.756 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:08:37.756 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1014 ms +2024-05-28 10:08:37.785 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:08:37.958 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:08:37.962 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:08:39.023 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:08:39.030 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.577 seconds (JVM running for 3.017) +2024-05-28 10:09:37.563 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:09:37.570 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:09:37.575 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:09:37.575 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:09:37.576 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:09:37.586 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:09:37.588 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:19:09.025 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 11520 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:19:09.029 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:19:09.029 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:19:09.473 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:19:09.475 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:19:09.496 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 10:19:09.670 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$3f5bad9f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:19:09.745 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:19:09.745 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:19:09.747 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:19:09.758 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:19:09.788 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:19:09.791 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:19:09.810 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:19:09.967 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:19:09.974 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:19:09.975 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:19:10.057 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:19:10.058 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 997 ms +2024-05-28 10:19:10.084 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:19:10.247 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:19:10.252 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:19:11.210 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:19:11.216 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.549 seconds (JVM running for 2.946) +2024-05-28 10:19:11.890 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - -*************************** -APPLICATION FAILED TO START -*************************** +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 10:19:11.899 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:117) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:19:11.913 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:19:11.921 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:19:11.926 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[3MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:19:11.926 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:19:11.926 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:19:11.933 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:19:11.934 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:23:44.439 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 13032 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:23:44.441 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:23:44.442 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:23:44.908 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:23:44.909 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:23:44.936 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 10:23:45.111 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$4f0d6d32] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:45.190 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:45.191 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:45.191 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:45.204 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:45.232 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:45.235 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:45.257 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:23:45.427 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:23:45.433 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:23:45.433 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:23:45.511 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:23:45.511 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1033 ms +2024-05-28 10:23:45.543 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:23:45.703 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:23:45.707 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:23:46.674 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:23:46.681 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.489 seconds (JVM running for 2.859) +2024-05-28 10:23:47.386 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - -Description: +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 10:23:47.395 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:120) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:23:47.409 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:23:47.416 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:23:47.421 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:23:47.422 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:23:47.422 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:23:47.431 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:23:47.433 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:23:57.125 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 11120 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:23:57.126 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:23:57.128 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:23:57.506 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:23:57.508 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:23:57.532 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +2024-05-28 10:23:57.705 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$6d0489a8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:57.777 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:57.778 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:57.779 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:57.790 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:57.818 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:57.820 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:23:57.839 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:23:57.997 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:23:58.004 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:23:58.006 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:23:58.088 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:23:58.089 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 932 ms +2024-05-28 10:23:58.116 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:23:58.285 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:23:58.289 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:23:59.215 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:23:59.223 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.335 seconds (JVM running for 2.697) +2024-05-28 10:23:59.934 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - -Field redisTemplate in com.muyu.controller.FluxMqController required a bean of type 'org.springframework.data.redis.core.RedisTemplate' that could not be found. +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 10:23:59.945 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:120) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:23:59.960 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:23:59.967 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:23:59.972 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:23:59.972 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:23:59.973 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:23:59.981 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:23:59.983 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:40:36.692 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 21648 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:40:36.694 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:40:36.694 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:40:37.109 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:40:37.110 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:40:37.134 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 10:40:37.298 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$ca787fdd] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:40:37.371 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:40:37.371 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:40:37.373 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:40:37.383 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:40:37.409 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:40:37.412 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:40:37.429 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:40:37.582 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:40:37.589 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:40:37.590 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:40:37.668 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:40:37.669 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 947 ms +2024-05-28 10:40:37.697 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:40:37.860 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:40:37.863 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:40:38.772 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:40:38.780 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.399 seconds (JVM running for 2.89) +2024-05-28 10:40:40.207 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - -The injection point has the following annotations: - - @org.springframework.beans.factory.annotation.Autowired(required=true) +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 10:40:40.220 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:120) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:40:40.237 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:40:40.244 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:40:40.250 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:40:40.250 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:40:40.251 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:40:40.260 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:40:40.261 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:41:38.278 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 24536 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:41:38.279 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:41:38.280 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:41:38.685 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:41:38.686 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:41:38.712 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +2024-05-28 10:41:38.883 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$64644151] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:41:38.954 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:41:38.955 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:41:38.956 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:41:38.968 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:41:39.004 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:41:39.007 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:41:39.026 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:41:39.177 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:41:39.184 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:41:39.185 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:41:39.270 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:41:39.270 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 955 ms +2024-05-28 10:41:39.297 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:41:39.459 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:41:39.463 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:41:40.367 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:41:40.373 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.418 seconds (JVM running for 2.793) +2024-05-28 10:41:41.306 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 10:41:41.315 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:121) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:41:41.331 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:41:41.338 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:41:41.342 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[3MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:41:41.343 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:41:41.343 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:41:41.351 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:41:41.353 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:45:34.650 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 2496 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:45:34.651 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:45:34.651 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:45:35.089 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:45:35.091 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:45:35.114 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 10:45:35.330 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$e48e3f98] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:45:35.412 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:45:35.413 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:45:35.414 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:45:35.427 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:45:35.462 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:45:35.465 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:45:35.487 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:45:35.674 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:45:35.682 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:45:35.682 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:45:35.771 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:45:35.771 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1080 ms +2024-05-28 10:45:35.801 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:45:36.001 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:45:36.005 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:45:37.183 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:45:37.190 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.807 seconds (JVM running for 3.267) +2024-05-28 10:45:49.437 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - -Action: +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 10:45:49.447 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:119) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:45:49.465 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:45:49.472 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:45:49.477 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:45:49.477 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:45:49.477 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:45:49.487 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:45:49.488 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 10:47:15.217 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 24904 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 10:47:15.219 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 10:47:15.219 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 10:47:15.623 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 10:47:15.625 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 10:47:15.653 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 10:47:15.853 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$bc4efc57] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:47:15.928 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:47:15.929 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:47:15.930 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:47:15.943 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:47:15.977 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:47:15.981 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 10:47:16.004 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 10:47:16.179 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 10:47:16.185 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 10:47:16.186 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 10:47:16.265 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 10:47:16.265 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1014 ms +2024-05-28 10:47:16.295 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 10:47:16.455 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 10:47:16.459 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 10:47:17.382 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 10:47:17.390 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.419 seconds (JVM running for 2.786) +2024-05-28 10:47:18.412 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - -Consider defining a bean of type 'org.springframework.data.redis.core.RedisTemplate' in your configuration. +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 10:47:18.420 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:122) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 10:47:18.435 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 10:47:18.443 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 10:47:18.449 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 10:47:18.449 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 10:47:18.449 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 10:47:18.458 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 10:47:18.459 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 14:01:28.519 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 2300 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 14:01:28.521 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 14:01:28.522 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 14:01:28.986 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 14:01:28.988 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 14:01:29.014 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 14:01:29.204 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$3f5bad9f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:01:29.292 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:01:29.293 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:01:29.293 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:01:29.304 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:01:29.335 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:01:29.338 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:01:29.357 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 14:01:29.539 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 14:01:29.547 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 14:01:29.547 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 14:01:29.622 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 14:01:29.623 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1072 ms +2024-05-28 14:01:29.649 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 14:01:29.834 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 14:01:29.837 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 14:01:30.857 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 14:01:30.864 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.622 seconds (JVM running for 3.057) +2024-05-28 14:01:33.087 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - -2024-05-27 22:37:52.441 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 33404 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) -2024-05-27 22:37:52.445 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 -2024-05-27 22:37:52.445 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" -2024-05-27 22:37:52.917 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode -2024-05-27 22:37:52.919 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. -2024-05-27 22:37:52.939 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. -2024-05-27 22:37:53.114 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$9f4fe533] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:37:53.194 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:37:53.195 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:37:53.196 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:37:53.208 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:37:53.235 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:37:53.238 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) -2024-05-27 22:37:53.257 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface -2024-05-27 22:37:53.418 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) -2024-05-27 22:37:53.424 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] -2024-05-27 22:37:53.425 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] -2024-05-27 22:37:53.518 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext -2024-05-27 22:37:53.518 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 1021 ms -2024-05-27 22:37:53.546 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... -2024-05-27 22:37:53.600 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. -2024-05-27 22:37:53.604 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' -2024-05-27 22:37:54.541 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' -2024-05-27 22:37:54.547 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.529 seconds (JVM running for 2.924) -2024-05-27 22:37:54.549 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 -2024-05-27 22:37:54.616 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle -2024-05-27 22:37:54.625 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: -2024-05-27 22:37:54.635 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 -2024-05-27 22:37:54.637 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? -2024-05-27 22:37:54.638 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) -2024-05-27 22:37:54.640 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 -2024-05-27 22:37:54.661 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345] -2024-05-27 22:37:54.661 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4] -2024-05-27 22:37:54.661 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 -2024-05-27 22:37:54.661 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:113 MS -2024-05-27 22:38:08.674 [http-nio-8999-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 14:01:33.098 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:116) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 14:01:33.130 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 14:01:33.136 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 14:01:33.141 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 14:01:33.141 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 14:01:33.141 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 14:01:33.150 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 14:01:33.152 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 14:56:21.671 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 7756 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 14:56:21.672 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 14:56:21.673 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 14:56:22.061 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 14:56:22.063 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 14:56:22.092 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. +2024-05-28 14:56:22.267 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8b4c761b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:56:22.343 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:56:22.344 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:56:22.345 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:56:22.356 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:56:22.388 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:56:22.391 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:56:22.409 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 14:56:22.567 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 14:56:22.573 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 14:56:22.573 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 14:56:22.646 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 14:56:22.646 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 945 ms +2024-05-28 14:56:22.672 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 14:56:22.829 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 14:56:22.833 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 14:56:23.740 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 14:56:23.746 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.329 seconds (JVM running for 2.712) +2024-05-28 14:56:24.689 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 14:56:24.698 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:119) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 14:56:24.714 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 14:56:24.722 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 14:56:24.727 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 14:56:24.727 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 14:56:24.727 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 14:56:24.736 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 14:56:24.738 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 14:57:05.563 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 14072 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 14:57:05.564 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 14:57:05.565 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 14:57:05.955 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 14:57:05.957 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 14:57:05.983 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +2024-05-28 14:57:06.162 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$56295e9e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:06.239 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:06.240 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:06.241 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:06.253 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:06.285 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:06.288 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:06.309 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 14:57:06.485 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 14:57:06.492 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 14:57:06.492 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 14:57:06.571 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 14:57:06.571 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 974 ms +2024-05-28 14:57:06.598 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 14:57:06.770 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 14:57:06.773 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 14:57:07.711 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 14:57:07.718 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.395 seconds (JVM running for 2.773) +2024-05-28 14:57:08.597 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 14:57:08.606 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:120) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 14:57:08.622 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 14:57:08.632 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 14:57:08.638 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[5MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 14:57:08.638 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 14:57:08.638 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 14:57:08.647 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 14:57:08.648 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 14:57:41.157 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 26736 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 14:57:41.159 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 14:57:41.160 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 14:57:41.556 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 14:57:41.557 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 14:57:41.582 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 14:57:41.760 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8b4c761b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:41.826 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:41.827 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:41.828 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:41.843 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:41.872 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:41.875 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 14:57:41.895 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 14:57:42.060 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 14:57:42.067 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 14:57:42.067 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 14:57:42.148 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 14:57:42.148 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 960 ms +2024-05-28 14:57:42.177 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 14:57:42.344 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 14:57:42.348 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 14:57:43.272 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 14:57:43.279 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.376 seconds (JVM running for 2.776) +2024-05-28 14:57:44.191 [main] INFO o.s.b.a.l.ConditionEvaluationReportLoggingListener:136 - + +Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. +2024-05-28 14:57:44.200 [main] ERROR org.springframework.boot.SpringApplication:830 - Application run failed +java.lang.IllegalStateException: Failed to execute ApplicationRunner + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) + at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:758) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:310) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1312) + at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301) + at com.muyu.VehicleSimulationApplication.main(VehicleSimulationApplication.java:18) +Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "com.aliyun.tea.TeaException.getData()" is null + at com.muyu.config.InitializeWeightConfig.run(InitializeWeightConfig.java:121) + at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:768) + ... 5 common frames omitted +2024-05-28 14:57:44.217 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 14:57:44.224 [main] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 14:57:44.229 [main] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[4MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 14:57:44.229 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 14:57:44.229 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 14:57:44.238 [main] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 14:57:44.239 [main] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 15:02:44.135 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 3024 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 15:02:44.138 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 15:02:44.138 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 15:02:44.522 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 15:02:44.523 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 15:02:44.548 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 15:02:44.714 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8cde373d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:02:44.785 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:02:44.786 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:02:44.787 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:02:44.798 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:02:44.828 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:02:44.831 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:02:44.850 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 15:02:45.010 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 15:02:45.017 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 15:02:45.018 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 15:02:45.098 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 15:02:45.098 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 925 ms +2024-05-28 15:02:45.125 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 15:02:45.290 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 15:02:45.295 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 15:02:46.200 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 15:02:46.207 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.339 seconds (JVM running for 2.735) +2024-05-28 15:02:47.124 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 15:02:47.195 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 15:02:47.205 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 15:02:47.214 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 15:02:47.218 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 15:02:47.218 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 15:02:47.219 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 15:02:47.224 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912345] +2024-05-28 15:02:47.224 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 15:02:47.224 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 15:02:47.225 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:102 MS +2024-05-28 15:09:47.490 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 15:09:47.493 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 15:09:47.494 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 15:09:47.494 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 15:09:47.494 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 15:09:47.503 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 15:09:47.504 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 15:09:55.008 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 27536 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 15:09:55.010 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 15:09:55.011 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 15:09:55.392 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 15:09:55.393 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 15:09:55.418 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +2024-05-28 15:09:55.591 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8cde373d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:09:55.667 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:09:55.668 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:09:55.669 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:09:55.680 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:09:55.710 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:09:55.713 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:09:55.734 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 15:09:55.892 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 15:09:55.899 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 15:09:55.899 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 15:09:55.981 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 15:09:55.981 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 943 ms +2024-05-28 15:09:56.008 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 15:09:56.180 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 15:09:56.184 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 15:09:57.108 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 15:09:57.113 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.338 seconds (JVM running for 2.687) +2024-05-28 15:09:58.095 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 15:09:58.154 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 15:09:58.163 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 15:09:58.172 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 15:09:58.174 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 15:09:58.175 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 15:09:58.176 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 15:09:58.181 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912345] +2024-05-28 15:09:58.181 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 15:09:58.181 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 15:09:58.181 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:88 MS +2024-05-28 15:16:35.262 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:67 - 数据库同步 +2024-05-28 15:16:35.265 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:89 - 同步数据库开始 +2024-05-28 15:16:35.266 [SpringApplicationShutdownHook] INFO com.muyu.service.impl.VechileServiceImpl:111 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆] +2024-05-28 15:16:35.266 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:70 - 下线所有车辆 +2024-05-28 15:16:35.267 [SpringApplicationShutdownHook] INFO com.muyu.vehicle.core.VehicleConfiguration:74 - 关闭线程池 +2024-05-28 15:16:35.279 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... +2024-05-28 15:16:35.280 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. +2024-05-28 15:16:43.045 [main] INFO com.muyu.VehicleSimulationApplication:55 - Starting VehicleSimulationApplication using Java 17.0.10 on xiaoxin with PID 2112 (D:\work\zncar\zn-car\zn-car-modules\VehicleSimulation\target\classes started by 86157 in D:\work\zncar\zn-car) +2024-05-28 15:16:43.048 [main] DEBUG com.muyu.VehicleSimulationApplication:56 - Running with Spring Boot v2.6.4, Spring v5.3.16 +2024-05-28 15:16:43.048 [main] INFO com.muyu.VehicleSimulationApplication:640 - No active profile set, falling back to 1 default profile: "default" +2024-05-28 15:16:43.428 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:262 - Multiple Spring Data modules found, entering strict repository configuration mode +2024-05-28 15:16:43.429 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:132 - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +2024-05-28 15:16:43.454 [main] INFO o.s.d.r.config.RepositoryConfigurationDelegate:201 - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +2024-05-28 15:16:43.631 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$8cde373d] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:16:43.700 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:16:43.701 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:16:43.702 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:16:43.712 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:16:43.741 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:16:43.745 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) +2024-05-28 15:16:43.765 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.muyu.vehicle.api.ClientAdmin' client interface +2024-05-28 15:16:43.932 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 8999 (http) +2024-05-28 15:16:43.938 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat] +2024-05-28 15:16:43.939 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.58] +2024-05-28 15:16:44.009 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext +2024-05-28 15:16:44.009 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:290 - Root WebApplicationContext: initialization completed in 930 ms +2024-05-28 15:16:44.040 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting... +2024-05-28 15:16:44.193 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed. +2024-05-28 15:16:44.196 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:68 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db' +2024-05-28 15:16:45.097 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 8999 (http) with context path '' +2024-05-28 15:16:45.104 [main] INFO com.muyu.VehicleSimulationApplication:61 - Started VehicleSimulationApplication in 2.294 seconds (JVM running for 2.646) +2024-05-28 15:16:46.130 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条 +2024-05-28 15:16:46.190 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle +2024-05-28 15:16:46.200 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters: +2024-05-28 15:16:46.209 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1 +2024-05-28 15:16:46.211 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ? +2024-05-28 15:16:46.212 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long) +2024-05-28 15:16:46.213 [main] DEBUG com.muyu.mapper.VehicleMapper.selectPage:137 - <== Total: 2 +2024-05-28 15:16:46.218 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN12345678912345] +2024-05-28 15:16:46.218 [main] DEBUG com.muyu.service.impl.VehicleInstanceServiceImpl:61 - 构建车辆对象: [VIN123456789DIJE4] +2024-05-28 15:16:46.218 [main] DEBUG com.muyu.vehicle.core.VehicleConfiguration:45 - 第[1]页,[2]条 +2024-05-28 15:16:46.218 [main] INFO com.muyu.vehicle.core.VehicleConfiguration:50 - 数据加载完成,耗时:89 MS +2024-05-28 15:19:26.171 [http-nio-8999-exec-4] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring DispatcherServlet 'dispatcherServlet' +2024-05-28 15:19:26.457 [http-nio-8999-exec-1] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - ==> Preparing: SELECT id,name,data AS routeData,create_time FROM route_info +2024-05-28 15:19:26.457 [http-nio-8999-exec-1] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - ==> Parameters: +2024-05-28 15:19:26.463 [http-nio-8999-exec-1] DEBUG com.muyu.mapper.PositionRouteMapper.selectList:137 - <== Total: 2 diff --git a/logs/vehicle.log.2024-05-27.0.gz b/logs/vehicle.log.2024-05-27.0.gz new file mode 100644 index 0000000..fc6597a Binary files /dev/null and b/logs/vehicle.log.2024-05-27.0.gz differ diff --git a/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/VehicleSimulationApplication.java b/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/VehicleSimulationApplication.java index e60d972..9a14be5 100644 --- a/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/VehicleSimulationApplication.java +++ b/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/VehicleSimulationApplication.java @@ -10,7 +10,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; * @description 车辆模拟启动类 * @date 2023/11/9 */ -@SpringBootApplication +@SpringBootApplication(scanBasePackages = "com.muyu") @MapperScan(value = "com.muyu.mapper") public class VehicleSimulationApplication { diff --git a/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/config/InitializeWeightConfig.java b/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/config/InitializeWeightConfig.java new file mode 100644 index 0000000..a0befd8 --- /dev/null +++ b/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/config/InitializeWeightConfig.java @@ -0,0 +1,176 @@ +package com.muyu.config; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.aliyun.ecs20140526.models.DescribeInstancesResponse; +import com.aliyun.tea.TeaException; +import com.aliyun.tea.TeaModel; +import com.aliyun.teautil.Common; +import com.muyu.ApifoxModel; +import com.muyu.NodeInfo; +import com.muyu.Sample; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.ApplicationArguments; +import org.springframework.boot.ApplicationRunner; +import org.springframework.stereotype.Component; +import org.springframework.web.client.RestTemplate; + +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.util.*; +import java.util.stream.Collectors; +import java.util.stream.DoubleStream; + +/** + * 初始化权重值 InitializeWeightConfig + * + * @author Yangle + * Date 2024/5/28 9:32 + * + */ +@Component +public class InitializeWeightConfig implements ApplicationRunner { + + @Autowired + private RestTemplate restTemplate; + + + public static com.aliyun.ecs20140526.Client createClient() throws Exception { + // 工程代码泄露可能会导致 AccessKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考。 + // 建议使用更安全的 STS 方式,更多鉴权访问方式请参见:https://help.aliyun.com/document_detail/378657.html。 + com.aliyun.teaopenapi.models.Config config = new com.aliyun.teaopenapi.models.Config() + // 必填,请确保代码运行环境设置了环境变量 ALIBABA_CLOUD_ACCESS_KEY_ID。 + .setAccessKeyId("LTAI5tDneNu1AnsDijLV5Q4V") + // 必填,请确保代码运行环境设置了环境变量 ALIBABA_CLOUD_ACCESS_KEY_SECRET。 + .setAccessKeySecret("gUnaWRZocYftNfm5YAIadE72gJsapR"); + // Endpoint 请参考 https://api.aliyun.com/product/Ecs + config.endpoint = "ecs.cn-shanghai.aliyuncs.com"; + return new com.aliyun.ecs20140526.Client(config); + } + + public static Map hashMap = new HashMap<>(); + + @Override + public void run(ApplicationArguments args) throws Exception { + List ips=new ArrayList<>(); + + com.aliyun.ecs20140526.Client client = Sample.createClient(); + com.aliyun.ecs20140526.models.DescribeInstancesRequest describeInstancesRequest = new com.aliyun.ecs20140526.models.DescribeInstancesRequest() + .setRegionId("cn-shanghai") + .setStatus("Running"); + com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); + try { + // 复制代码运行请自行打印 API 的返回值 + DescribeInstancesResponse response = client.describeInstancesWithOptions(describeInstancesRequest, runtime); + String jsonString = Common.toJSONString(TeaModel.buildMap(response)); + System.out.println("hhh" + jsonString); + JSONObject jsonObjec = JSONObject.parseObject(jsonString); + JSONObject body = jsonObjec.getJSONObject("body"); + JSONObject instanceStatuses = body.getJSONObject("Instances"); + JSONArray instanceStatus = instanceStatuses.getJSONArray("Instance"); + + for (int i = 0; i < instanceStatus.size(); i++) { + JSONObject instanceStatus1 = instanceStatus.getJSONObject(i); + JSONObject publicIpAddress = instanceStatus1.getJSONObject("PublicIpAddress"); + JSONArray ipAddress = publicIpAddress.getJSONArray("IpAddress"); + for (int i1 = 0; i1 < ipAddress.size(); i1++) { + ips.add(ipAddress.getString(i1)); + } + } + } catch(TeaException error){ + // 此处仅做打印展示,请谨慎对待异常处理,在工程项目中切勿直接忽略异常。 + // 错误 message + System.out.println(error.getMessage()); + // 诊断地址 + System.out.println(error.getData().get("Recommend")); + com.aliyun.teautil.Common.assertAsString(error.message); + } catch(Exception _error){ + TeaException error = new TeaException(_error.getMessage(), _error); + // 此处仅做打印展示,请谨慎对待异常处理,在工程项目中切勿直接忽略异常。 + // 错误 message + System.out.println(error.getMessage()); + // 诊断地址 + System.out.println(error.getData().get("Recommend")); + com.aliyun.teautil.Common.assertAsString(error.message); + } + + + List strings = new ArrayList<>(); + ApifoxModel apifoxModel = new ApifoxModel(); + apifoxModel.setPassword("fluxmq"); + apifoxModel.setUsername("fluxmq"); + for (String s : ips) { + String token2 = restTemplate.postForObject("http://" + s + ":8080/public/login", apifoxModel, String.class); + System.out.println("ss"+token2); + JSONObject token= JSONObject.parseObject(token2); + String accessToken = token.getString("accessToken"); + System.out.println("Access Token: " + accessToken); + strings.add(token2); + String restTemplateForObject = restTemplate.getForObject("http://" + s + ":8080/public/cluster?accesstoken=" + accessToken, String.class); + + JSONArray jsonArray = JSONArray.parseArray(restTemplateForObject); + + // 获取JSONArray中的第一个JSONObject(假设你只对第一个对象感兴趣) + JSONObject jsonObject = jsonArray.getJSONObject(0); + + // 从JSONObject中获取cpuInfo对象 + JSONObject cpuInfo = jsonObject.getJSONObject("cpuInfo"); + + // 从cpuInfo对象中获取cpuNum的值 + int cpuNum = cpuInfo.getIntValue("cpuNum"); + + // 打印结果 + System.out.println("CPU数量: " + cpuNum); + } +// hashMap.put(s, ); + } + + public static void ff() { + + // 将map转成list + List nodeInfoList = hashMap.entrySet() + .stream().map(NodeInfo::new) + .toList(); + System.out.println(nodeInfoList); + //计算出权重的和 + double sum = nodeInfoList.stream().flatMapToDouble(nodeInfo -> DoubleStream.of(nodeInfo.getWeight())) + .sum(); + System.out.println(sum); + + BigDecimal spec = new BigDecimal(100).divide(new BigDecimal(sum), 2, BigDecimal.ROUND_HALF_UP); + System.out.println("spec" + spec); + java.util.Map collect = nodeInfoList.stream() + .collect(Collectors.toMap(NodeInfo::getId, + nodeInfo -> spec.multiply(BigDecimal.valueOf(nodeInfo.getWeight())).setScale(0, RoundingMode.DOWN).intValue(), + (o1, o2) -> o1)); + System.out.println(collect); + int reduce = collect.values().stream().reduce(0, Integer::sum); + System.out.println(reduce); + int free = 100 - reduce; + nodeInfoList.stream() + .sorted(Comparator.comparingInt(o -> o.getWeight().intValue())) + .limit(free) + .forEach(nodeInfo -> { + collect.put(nodeInfo.getId(), collect.get(nodeInfo.getId()) + 1); + }); + System.out.println(collect); + String[] nodeArray = new String[100]; + int intArrCursor = -1; + while (!collect.isEmpty()) { + Iterator> specMapIterator = collect.entrySet().iterator(); + while (specMapIterator.hasNext()) { + Map.Entry entry = specMapIterator.next(); + Integer value = entry.getValue(); + if (value > 0) { + nodeArray[++intArrCursor] = entry.getKey(); + entry.setValue(value - 1); + } + if (value == 0) { + specMapIterator.remove(); + } + } + } + System.out.println(collect); + System.out.println("lll" + Arrays.toString(nodeArray)); + } +} diff --git a/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/controller/FluxMqController.java b/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/controller/FluxMqController.java index 481fded..044041e 100644 --- a/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/controller/FluxMqController.java +++ b/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/controller/FluxMqController.java @@ -9,13 +9,15 @@ import com.aliyun.teautil.Common; import com.muyu.ApifoxModel; import com.muyu.NodeInfo; import com.muyu.Sample; +import com.muyu.config.RedisConfig; import lombok.extern.log4j.Log4j2; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.autoconfigure.cache.CacheProperties; import org.springframework.data.redis.core.RedisTemplate; +import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import org.springframework.web.client.RestTemplate; + import java.math.BigDecimal; import java.math.RoundingMode; import java.util.*; @@ -48,36 +50,30 @@ public class FluxMqController { } return strings; } -// @Autowired -// private RedisTemplate> redisTemplate; + @Autowired + private RedisTemplate redisTemplate; @GetMapping("/select") - public List getToken(@RequestParam String accessToken) throws Exception { + public List getToken(@RequestParam String accessToken) throws Exception { List posted = this.post(); System.out.println(posted); - List strings = new ArrayList<>(); + List strings = new ArrayList<>(); for (String s : posted) { - Object s1 = restTemplate.getForObject("http://" + s + ":8080/public/cluster?accesstoken="+accessToken,Object.class); - System.out.println(s1); + String s1 = restTemplate.getForObject("http://" + s + ":8080/public/cluster?accesstoken=" + accessToken, String.class); + System.out.println(s1); strings.add(s1); -// ff(); -// JSONObject jsonObject = JSONObject.parseObject(s1.toString()); + +// JSONObject.parseObject() // JSONObject cpuInfo = jsonObject.getJSONObject("cpuInfo"); // Double cpu = cpuInfo.getDouble("cpu"); -// hashMap = new HashMap<>(){{ -// put(s,cpu ); -// }}; -// redisTemplate.opsForHash().putAll("cpu"+s,hashMap); - +// hashMap.put(s,cpu); } - - +// ff(); return strings; } public static Map hashMap = new HashMap<>(); public static void ff(){ - // 将map转成list List nodeInfoList = hashMap.entrySet() .stream().map(NodeInfo::new) @@ -128,18 +124,6 @@ public static void ff(){ public static final String postIp = null; - public static com.aliyun.ecs20140526.Client createClient() throws Exception { - // 工程代码泄露可能会导致 AccessKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考。 - // 建议使用更安全的 STS 方式,更多鉴权访问方式请参见:https://help.aliyun.com/document_detail/378657.html。 - com.aliyun.teaopenapi.models.Config config = new com.aliyun.teaopenapi.models.Config() - // 必填,请确保代码运行环境设置了环境变量 ALIBABA_CLOUD_ACCESS_KEY_ID。 - .setAccessKeyId("LTAI5tDneNu1AnsDijLV5Q4V") - // 必填,请确保代码运行环境设置了环境变量 ALIBABA_CLOUD_ACCESS_KEY_SECRET。 - .setAccessKeySecret("gUnaWRZocYftNfm5YAIadE72gJsapR"); - // Endpoint 请参考 https://api.aliyun.com/product/Ecs - config.endpoint = "ecs.cn-shanghai.aliyuncs.com"; - return new com.aliyun.ecs20140526.Client(config); - } public static List post() throws Exception { List ips=new ArrayList<>(); diff --git a/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/service/impl/VehicleInstanceServiceImpl.java b/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/service/impl/VehicleInstanceServiceImpl.java index 5ab2368..0835a28 100644 --- a/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/service/impl/VehicleInstanceServiceImpl.java +++ b/zn-car-modules/VehicleSimulation/src/main/java/com/muyu/service/impl/VehicleInstanceServiceImpl.java @@ -24,6 +24,7 @@ import lombok.extern.log4j.Log4j2; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import org.springframework.web.client.RestTemplate; import java.util.Comparator; import java.util.List; @@ -92,6 +93,8 @@ public class VehicleInstanceServiceImpl implements VehicleInstanceService { .build(); } + @Autowired + private RestTemplate restTemplate; /** * 车辆客户端初始化 *