2024-03-22 17:29:16.831 INFO 20076 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 20076 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 17:29:16.836 INFO 20076 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 17:29:16.837 DEBUG 20076 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 17:29:17.051 DEBUG 20076 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@72e34f77 2024-03-22 17:29:17.523 INFO 20076 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 17:29:17.523 INFO 20076 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 17:29:17.537 INFO 20076 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 4 ms. Found 0 JPA repository interfaces. 2024-03-22 17:29:17.549 INFO 20076 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 17:29:17.549 INFO 20076 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 17:29:17.551 INFO 20076 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 0 ms. Found 0 MongoDB repository interfaces. 2024-03-22 17:29:17.614 DEBUG 20076 --- [main] o.s.b.a.AutoConfigurationPackages : @EnableAutoConfiguration was declared on a class in the package 'com.zswl.dataservicestarter'. Automatic @Repository and @Entity scanning is enabled. 2024-03-22 17:29:17.784 WARN 20076 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zswl.dataservicestarter]' package. Please check your configuration. 2024-03-22 17:29:18.103 DEBUG 20076 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 17:29:18.103 DEBUG 20076 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 17:29:18.104 DEBUG 20076 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. 2024-03-22 17:29:18.119 INFO 20076 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9000 (http) 2024-03-22 17:29:18.125 INFO 20076 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-03-22 17:29:18.125 INFO 20076 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.75] 2024-03-22 17:29:18.223 INFO 20076 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-03-22 17:29:18.223 DEBUG 20076 --- [main] w.s.c.ServletWebServerApplicationContext : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] 2024-03-22 17:29:18.223 INFO 20076 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1172 ms 2024-03-22 17:29:18.233 DEBUG 20076 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping filters: characterEncodingFilter urls=[/*] order=-2147483648 2024-03-22 17:29:18.233 DEBUG 20076 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping servlets: dispatcherServlet urls=[/] 2024-03-22 17:29:18.250 DEBUG 20076 --- [main] s.b.w.s.f.OrderedCharacterEncodingFilter : Filter 'characterEncodingFilter' configured for use 2024-03-22 17:29:18.348 INFO 20076 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-03-22 17:29:18.564 INFO 20076 --- [main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported) 2024-03-22 17:29:18.567 INFO 20076 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-03-22 17:29:18.607 INFO 20076 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-03-22 17:29:18.651 INFO 20076 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-03-22 17:29:18.771 INFO 20076 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-03-22 17:29:18.863 INFO 20076 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2024-03-22 17:29:18.981 INFO 20076 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-03-22 17:29:18.990 INFO 20076 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 17:29:19.050 INFO 20076 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:37017 to client view of cluster 2024-03-22 17:29:19.073 INFO 20076 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:47017 to client view of cluster 2024-03-22 17:29:19.074 INFO 20076 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57107 to client view of cluster 2024-03-22 17:29:19.093 INFO 20076 --- [main] org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.9.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/11.0.12+8-LTS-237"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=MongoCredential{mechanism=null, userName='admin', source='dataDB', password=, mechanismProperties=}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, CollectionCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.client.model.mql.ExpressionCodecProvider@1e7d3d87, com.mongodb.Jep395RecordCodecProvider@1dd76982]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[192.168.0.102:37017, 192.168.0.102:47017, 192.168.0.102:57107], srvServiceName=mongodb, mode=MULTIPLE, requiredClusterType=REPLICA_SET, requiredReplicaSetName='rs', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} 2024-03-22 17:29:19.104 INFO 20076 --- [cluster-ClusterId{value='65fd4f6f68f1e6207f74acd8', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:37017, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=19840500, setName='rs', canonicalAddress=192.168.0.102:37017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000005, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aa1e543ec5a25b9306f, counter=13}, lastWriteDate=Fri Mar 22 17:29:11 CST 2024, lastUpdateTimeNanos=243910871740500} 2024-03-22 17:29:19.104 INFO 20076 --- [cluster-ClusterId{value='65fd4f6f68f1e6207f74acd8', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:47017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=19845700, setName='rs', canonicalAddress=192.168.0.102:47017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aabf11a7ed1fff1639f, counter=14}, lastWriteDate=Fri Mar 22 17:29:11 CST 2024, lastUpdateTimeNanos=243910871740500} 2024-03-22 17:29:19.107 INFO 20076 --- [cluster-ClusterId{value='65fd4f6f68f1e6207f74acd8', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57017 to client view of cluster 2024-03-22 17:29:19.109 INFO 20076 --- [cluster-ClusterId{value='65fd4f6f68f1e6207f74acd8', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Server 192.168.0.102:57107 is no longer a member of the replica set. Removing from client view of cluster. 2024-03-22 17:29:19.111 INFO 20076 --- [cluster-ClusterId{value='65fd4f6f68f1e6207f74acd8', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Discovered replica set primary 192.168.0.102:37017 with max election id 7fffffff0000000000000005 and max set version 1 2024-03-22 17:29:19.114 INFO 20076 --- [cluster-ClusterId{value='65fd4f6f68f1e6207f74acd8', description='null'}-192.168.0.102:57017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:57017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=3933600, setName='rs', canonicalAddress=192.168.0.102:57017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7ab18e3e361d9a98b17e, counter=11}, lastWriteDate=Fri Mar 22 17:29:11 CST 2024, lastUpdateTimeNanos=243910883500200} 2024-03-22 17:29:19.174 WARN 20076 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 17:29:19.266 DEBUG 20076 --- [main] inMXBeanRegistrar$SpringApplicationAdmin : Application Admin MBean registered with name 'org.springframework.boot:type=Admin,name=SpringApplication' 2024-03-22 17:29:19.290 WARN 20076 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 17:29:19.309 WARN 20076 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.math.BigDecimal to class org.bson.types.Decimal128 as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 17:29:19.310 WARN 20076 --- [main] o.s.data.convert.CustomConversions : Registering converter from class org.bson.types.Decimal128 to class java.math.BigDecimal as writing converter although it doesn't convert to a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 17:29:19.310 WARN 20076 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 17:29:19.600 WARN 20076 --- [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2024-03-22 17:29:19.640 DEBUG 20076 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : 2 mappings in 'requestMappingHandlerMapping' 2024-03-22 17:29:19.674 DEBUG 20076 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2024-03-22 17:29:19.693 DEBUG 20076 --- [main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice 2024-03-22 17:29:19.846 WARN 20076 --- [main] .b.a.g.t.GroovyTemplateAutoConfiguration : Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false) 2024-03-22 17:29:20.126 INFO 20076 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 9000 (http) with context path '' 2024-03-22 17:29:20.133 DEBUG 20076 --- [main] ySourcesPropertyResolver$DefaultResolver : Found key 'spring.liveBeansView.mbeanDomain' in PropertySource 'systemProperties' with value of type String 2024-03-22 17:29:20.136 INFO 20076 --- [main] c.z.d.DataServiceStarterApplication : Started DataServiceStarterApplication in 3.802 seconds (JVM running for 5.239) 2024-03-22 17:29:20.137 DEBUG 20076 --- [main] o.s.b.a.ApplicationAvailabilityBean : Application availability state LivenessState changed to CORRECT 2024-03-22 17:29:20.138 DEBUG 20076 --- [main] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed to ACCEPTING_TRAFFIC 2024-03-22 17:57:08.675 DEBUG 20076 --- [SpringApplicationShutdownHook] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed from ACCEPTING_TRAFFIC to REFUSING_TRAFFIC 2024-03-22 17:57:08.675 DEBUG 20076 --- [SpringApplicationShutdownHook] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@72e34f77, started on Fri Mar 22 17:29:17 CST 2024 2024-03-22 17:57:08.675 DEBUG 20076 --- [SpringApplicationShutdownHook] ySourcesPropertyResolver$DefaultResolver : Found key 'spring.liveBeansView.mbeanDomain' in PropertySource 'systemProperties' with value of type String 2024-03-22 17:57:09.137 INFO 20076 --- [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 17:57:09.138 INFO 20076 --- [SpringApplicationShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2024-03-22 17:57:09.143 INFO 20076 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-03-22 17:57:09.147 INFO 20076 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2024-03-22 17:57:18.219 INFO 32132 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 32132 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 17:57:18.223 INFO 32132 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 17:57:18.223 DEBUG 32132 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 17:57:18.456 DEBUG 32132 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@66ea1466 2024-03-22 17:57:19.130 INFO 32132 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 17:57:19.130 INFO 32132 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 17:57:19.211 INFO 32132 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 73 ms. Found 3 JPA repository interfaces. 2024-03-22 17:57:19.231 INFO 32132 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 17:57:19.232 INFO 32132 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 17:57:19.239 WARN 32132 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'userDao' defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableMongoRepositories declared on MongoConfiguration: Cannot register bean definition [Root bean: class [org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableMongoRepositories declared on MongoConfiguration] for bean 'userDao': There is already [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableJpaRepositories declared on JpaConfig] bound. 2024-03-22 17:57:19.250 INFO 32132 --- [main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-03-22 17:57:19.335 DEBUG 32132 --- [main] o.s.b.d.LoggingFailureAnalysisReporter : Application failed to start due to an exception org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'userDao' defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableMongoRepositories declared on MongoConfiguration: Cannot register bean definition [Root bean: class [org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableMongoRepositories declared on MongoConfiguration] for bean 'userDao': There is already [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableJpaRepositories declared on JpaConfig] bound. at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerBeanDefinition(DefaultListableBeanFactory.java:1006) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.data.repository.config.RepositoryConfigurationDelegate.registerRepositoriesIn(RepositoryConfigurationDelegate.java:189) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.repository.config.RepositoryBeanDefinitionRegistrarSupport.registerBeanDefinitions(RepositoryBeanDefinitionRegistrarSupport.java:106) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:396) ~[spring-context-5.3.26.jar:5.3.26] at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:na] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:395) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:157) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:129) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:343) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:748) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.12.jar:2.7.12] at com.zswl.dataservicestarter.DataServiceStarterApplication.main(DataServiceStarterApplication.java:21) ~[classes/:na] 2024-03-22 17:57:19.338 ERROR 32132 --- [main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: The bean 'userDao', defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableMongoRepositories declared on MongoConfiguration, could not be registered. A bean with that name has already been defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableJpaRepositories declared on JpaConfig and overriding is disabled. Action: Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true 2024-03-22 18:00:51.418 INFO 37300 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 37300 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 18:00:51.421 INFO 37300 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 18:00:51.421 DEBUG 37300 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 18:00:51.685 DEBUG 37300 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@a7e2d9d 2024-03-22 18:00:52.238 INFO 37300 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:00:52.239 INFO 37300 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 18:00:52.298 INFO 37300 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 55 ms. Found 3 MongoDB repository interfaces. 2024-03-22 18:00:52.378 DEBUG 37300 --- [main] o.s.b.a.AutoConfigurationPackages : @EnableAutoConfiguration was declared on a class in the package 'com.zswl.dataservicestarter'. Automatic @Repository and @Entity scanning is enabled. 2024-03-22 18:00:52.473 INFO 37300 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:00:52.474 INFO 37300 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 18:00:52.496 WARN 37300 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'userDao' defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot register bean definition [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration] for bean 'userDao': There is already [Root bean: class [org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableMongoRepositories declared on MongoConfiguration] bound. 2024-03-22 18:00:52.503 INFO 37300 --- [main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-03-22 18:00:52.521 DEBUG 37300 --- [main] o.s.b.d.LoggingFailureAnalysisReporter : Application failed to start due to an exception org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'userDao' defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot register bean definition [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration] for bean 'userDao': There is already [Root bean: class [org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableMongoRepositories declared on MongoConfiguration] bound. at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerBeanDefinition(DefaultListableBeanFactory.java:1006) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.data.repository.config.RepositoryConfigurationDelegate.registerRepositoriesIn(RepositoryConfigurationDelegate.java:189) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.registerBeanDefinitions(AbstractRepositoryConfigurationSourceSupport.java:62) ~[spring-boot-autoconfigure-2.7.12.jar:2.7.12] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:396) ~[spring-context-5.3.26.jar:5.3.26] at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:na] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:395) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:157) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:129) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:343) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:748) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.12.jar:2.7.12] at com.zswl.dataservicestarter.DataServiceStarterApplication.main(DataServiceStarterApplication.java:21) ~[classes/:na] 2024-03-22 18:00:52.521 ERROR 37300 --- [main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: The bean 'userDao', defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration, could not be registered. A bean with that name has already been defined in com.zswl.dataservicestarter.dao.UserDao defined in @EnableMongoRepositories declared on MongoConfiguration and overriding is disabled. Action: Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true 2024-03-22 18:04:32.877 INFO 9036 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 9036 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 18:04:32.883 INFO 9036 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 18:04:32.884 DEBUG 9036 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 18:04:33.210 DEBUG 9036 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@a7e2d9d 2024-03-22 18:04:33.881 INFO 9036 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:04:33.882 INFO 9036 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 18:04:33.939 INFO 9036 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 51 ms. Found 3 MongoDB repository interfaces. 2024-03-22 18:04:34.010 DEBUG 9036 --- [main] o.s.b.a.AutoConfigurationPackages : @EnableAutoConfiguration was declared on a class in the package 'com.zswl.dataservicestarter'. Automatic @Repository and @Entity scanning is enabled. 2024-03-22 18:04:34.111 INFO 9036 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:04:34.111 INFO 9036 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 18:04:34.142 WARN 9036 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot register bean definition [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration] for bean 'appInfoDao': There is already [Root bean: class [org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableMongoRepositories declared on MongoConfiguration] bound. 2024-03-22 18:04:34.153 INFO 9036 --- [main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-03-22 18:04:34.182 DEBUG 9036 --- [main] o.s.b.d.LoggingFailureAnalysisReporter : Application failed to start due to an exception org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot register bean definition [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration] for bean 'appInfoDao': There is already [Root bean: class [org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableMongoRepositories declared on MongoConfiguration] bound. at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerBeanDefinition(DefaultListableBeanFactory.java:1006) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.data.repository.config.RepositoryConfigurationDelegate.registerRepositoriesIn(RepositoryConfigurationDelegate.java:189) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.boot.autoconfigure.data.AbstractRepositoryConfigurationSourceSupport.registerBeanDefinitions(AbstractRepositoryConfigurationSourceSupport.java:62) ~[spring-boot-autoconfigure-2.7.12.jar:2.7.12] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:396) ~[spring-context-5.3.26.jar:5.3.26] at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:na] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:395) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:157) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:129) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:343) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:748) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.12.jar:2.7.12] at com.zswl.dataservicestarter.DataServiceStarterApplication.main(DataServiceStarterApplication.java:21) ~[classes/:na] 2024-03-22 18:04:34.183 ERROR 9036 --- [main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: The bean 'appInfoDao', defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration, could not be registered. A bean with that name has already been defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableMongoRepositories declared on MongoConfiguration and overriding is disabled. Action: Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true 2024-03-22 18:07:00.668 INFO 34536 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 34536 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 18:07:00.671 INFO 34536 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 18:07:00.673 DEBUG 34536 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 18:07:00.973 DEBUG 34536 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2b52c0d6 2024-03-22 18:07:01.537 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:07:01.538 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 18:07:01.591 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 49 ms. Found 3 MongoDB repository interfaces. 2024-03-22 18:07:01.662 DEBUG 34536 --- [main] o.s.b.a.AutoConfigurationPackages : @EnableAutoConfiguration was declared on a class in the package 'com.zswl.dataservicestarter'. Automatic @Repository and @Entity scanning is enabled. 2024-03-22 18:07:01.732 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:07:01.732 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 18:07:01.754 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 3 JPA repository interfaces. 2024-03-22 18:07:01.784 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:07:01.786 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2024-03-22 18:07:01.801 INFO 34536 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.AppInfoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:07:01.801 INFO 34536 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.MongoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:07:01.802 INFO 34536 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.UserDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:07:01.802 INFO 34536 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. 2024-03-22 18:07:01.889 WARN 34536 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zswl.dataservicestarter]' package. Please check your configuration. 2024-03-22 18:07:02.228 DEBUG 34536 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:07:02.228 DEBUG 34536 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:07:02.228 DEBUG 34536 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. 2024-03-22 18:07:02.244 INFO 34536 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9000 (http) 2024-03-22 18:07:02.253 INFO 34536 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-03-22 18:07:02.253 INFO 34536 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.75] 2024-03-22 18:07:02.462 INFO 34536 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-03-22 18:07:02.462 DEBUG 34536 --- [main] w.s.c.ServletWebServerApplicationContext : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] 2024-03-22 18:07:02.462 INFO 34536 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1489 ms 2024-03-22 18:07:02.481 DEBUG 34536 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping filters: characterEncodingFilter urls=[/*] order=-2147483648 2024-03-22 18:07:02.481 DEBUG 34536 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping servlets: dispatcherServlet urls=[/] 2024-03-22 18:07:02.511 DEBUG 34536 --- [main] s.b.w.s.f.OrderedCharacterEncodingFilter : Filter 'characterEncodingFilter' configured for use 2024-03-22 18:07:02.859 INFO 34536 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-03-22 18:07:03.039 INFO 34536 --- [main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported) 2024-03-22 18:07:03.042 INFO 34536 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-03-22 18:07:03.093 INFO 34536 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-03-22 18:07:03.148 INFO 34536 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-03-22 18:07:03.279 INFO 34536 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-03-22 18:07:03.374 INFO 34536 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2024-03-22 18:07:03.511 INFO 34536 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-03-22 18:07:03.521 INFO 34536 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:07:03.581 INFO 34536 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:37017 to client view of cluster 2024-03-22 18:07:03.607 INFO 34536 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:47017 to client view of cluster 2024-03-22 18:07:03.608 INFO 34536 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57107 to client view of cluster 2024-03-22 18:07:03.655 INFO 34536 --- [main] org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.9.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/11.0.12+8-LTS-237"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=MongoCredential{mechanism=null, userName='admin', source='dataDB', password=, mechanismProperties=}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, CollectionCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.client.model.mql.ExpressionCodecProvider@197cc325, com.mongodb.Jep395RecordCodecProvider@582ca1e2]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[192.168.0.102:37017, 192.168.0.102:47017, 192.168.0.102:57107], srvServiceName=mongodb, mode=MULTIPLE, requiredClusterType=REPLICA_SET, requiredReplicaSetName='rs', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} 2024-03-22 18:07:03.665 INFO 34536 --- [cluster-ClusterId{value='65fd584770c99d258146f956', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:47017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=29146700, setName='rs', canonicalAddress=192.168.0.102:47017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aabf11a7ed1fff1639f, counter=14}, lastWriteDate=Fri Mar 22 18:07:01 CST 2024, lastUpdateTimeNanos=246175431997900} 2024-03-22 18:07:03.665 INFO 34536 --- [cluster-ClusterId{value='65fd584770c99d258146f956', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:37017, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=29313300, setName='rs', canonicalAddress=192.168.0.102:37017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000005, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aa1e543ec5a25b9306f, counter=13}, lastWriteDate=Fri Mar 22 18:07:01 CST 2024, lastUpdateTimeNanos=246175431997800} 2024-03-22 18:07:03.670 INFO 34536 --- [cluster-ClusterId{value='65fd584770c99d258146f956', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57017 to client view of cluster 2024-03-22 18:07:03.672 INFO 34536 --- [cluster-ClusterId{value='65fd584770c99d258146f956', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Server 192.168.0.102:57107 is no longer a member of the replica set. Removing from client view of cluster. 2024-03-22 18:07:03.673 INFO 34536 --- [cluster-ClusterId{value='65fd584770c99d258146f956', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Discovered replica set primary 192.168.0.102:37017 with max election id 7fffffff0000000000000005 and max set version 1 2024-03-22 18:07:03.676 INFO 34536 --- [cluster-ClusterId{value='65fd584770c99d258146f956', description='null'}-192.168.0.102:57017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:57017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=3634100, setName='rs', canonicalAddress=192.168.0.102:57017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7ab18e3e361d9a98b17e, counter=11}, lastWriteDate=Fri Mar 22 18:07:01 CST 2024, lastUpdateTimeNanos=246175445396300} 2024-03-22 18:07:03.745 WARN 34536 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:07:03.834 DEBUG 34536 --- [main] inMXBeanRegistrar$SpringApplicationAdmin : Application Admin MBean registered with name 'org.springframework.boot:type=Admin,name=SpringApplication' 2024-03-22 18:07:03.859 WARN 34536 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:07:03.879 WARN 34536 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.math.BigDecimal to class org.bson.types.Decimal128 as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:07:03.879 WARN 34536 --- [main] o.s.data.convert.CustomConversions : Registering converter from class org.bson.types.Decimal128 to class java.math.BigDecimal as writing converter although it doesn't convert to a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:07:03.880 WARN 34536 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:07:04.553 WARN 34536 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'oauthController': Unsatisfied dependency expressed through field 'appInfoService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appInfoService': Unsatisfied dependency expressed through field 'appInfoDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo 2024-03-22 18:07:04.563 INFO 34536 --- [main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:07:04.564 INFO 34536 --- [main] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2024-03-22 18:07:04.567 INFO 34536 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-03-22 18:07:04.571 INFO 34536 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2024-03-22 18:07:04.584 INFO 34536 --- [main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-03-22 18:07:04.591 INFO 34536 --- [main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-03-22 18:07:04.610 ERROR 34536 --- [main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'oauthController': Unsatisfied dependency expressed through field 'appInfoService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appInfoService': Unsatisfied dependency expressed through field 'appInfoDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.12.jar:2.7.12] at com.zswl.dataservicestarter.DataServiceStarterApplication.main(DataServiceStarterApplication.java:21) ~[classes/:na] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appInfoService': Unsatisfied dependency expressed through field 'appInfoDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ~[spring-beans-5.3.26.jar:5.3.26] ... 20 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ~[spring-beans-5.3.26.jar:5.3.26] ... 34 common frames omitted Caused by: java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo at org.hibernate.metamodel.internal.MetamodelImpl.managedType(MetamodelImpl.java:583) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final] at org.hibernate.metamodel.internal.MetamodelImpl.managedType(MetamodelImpl.java:85) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final] at org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation.(JpaMetamodelEntityInformation.java:75) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaPersistableEntityInformation.(JpaPersistableEntityInformation.java:40) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaEntityInformationSupport.getEntityInformation(JpaEntityInformationSupport.java:64) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getEntityInformation(JpaRepositoryFactory.java:233) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:182) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:165) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:76) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:325) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:323) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.util.Lazy.getNullable(Lazy.java:231) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.util.Lazy.get(Lazy.java:115) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:329) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:144) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-5.3.26.jar:5.3.26] ... 44 common frames omitted 2024-03-22 18:09:00.420 INFO 38460 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 38460 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 18:09:00.422 INFO 38460 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 18:09:00.423 DEBUG 38460 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 18:09:00.646 DEBUG 38460 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2b52c0d6 2024-03-22 18:09:01.130 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:09:01.131 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 18:09:01.177 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 43 ms. Found 3 MongoDB repository interfaces. 2024-03-22 18:09:01.229 DEBUG 38460 --- [main] o.s.b.a.AutoConfigurationPackages : @EnableAutoConfiguration was declared on a class in the package 'com.zswl.dataservicestarter'. Automatic @Repository and @Entity scanning is enabled. 2024-03-22 18:09:01.303 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:09:01.304 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 18:09:01.322 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 3 JPA repository interfaces. 2024-03-22 18:09:01.344 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:09:01.345 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2024-03-22 18:09:01.358 INFO 38460 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.AppInfoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:09:01.359 INFO 38460 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.MongoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:09:01.359 INFO 38460 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.UserDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:09:01.360 INFO 38460 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. 2024-03-22 18:09:01.454 WARN 38460 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zswl.dataservicestarter]' package. Please check your configuration. 2024-03-22 18:09:01.787 DEBUG 38460 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:09:01.787 DEBUG 38460 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:09:01.787 DEBUG 38460 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. 2024-03-22 18:09:01.805 INFO 38460 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9000 (http) 2024-03-22 18:09:01.812 INFO 38460 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-03-22 18:09:01.813 INFO 38460 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.75] 2024-03-22 18:09:01.927 INFO 38460 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-03-22 18:09:01.927 DEBUG 38460 --- [main] w.s.c.ServletWebServerApplicationContext : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] 2024-03-22 18:09:01.927 INFO 38460 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1282 ms 2024-03-22 18:09:01.936 DEBUG 38460 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping filters: characterEncodingFilter urls=[/*] order=-2147483648 2024-03-22 18:09:01.937 DEBUG 38460 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping servlets: dispatcherServlet urls=[/] 2024-03-22 18:09:01.950 DEBUG 38460 --- [main] s.b.w.s.f.OrderedCharacterEncodingFilter : Filter 'characterEncodingFilter' configured for use 2024-03-22 18:09:02.177 INFO 38460 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-03-22 18:09:02.303 INFO 38460 --- [main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported) 2024-03-22 18:09:02.305 INFO 38460 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-03-22 18:09:02.338 INFO 38460 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-03-22 18:09:02.375 INFO 38460 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-03-22 18:09:02.496 INFO 38460 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-03-22 18:09:02.575 INFO 38460 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2024-03-22 18:09:02.695 INFO 38460 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-03-22 18:09:02.705 INFO 38460 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:09:02.769 INFO 38460 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:37017 to client view of cluster 2024-03-22 18:09:02.792 INFO 38460 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:47017 to client view of cluster 2024-03-22 18:09:02.793 INFO 38460 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57107 to client view of cluster 2024-03-22 18:09:02.815 INFO 38460 --- [main] org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.9.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/11.0.12+8-LTS-237"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=MongoCredential{mechanism=null, userName='admin', source='dataDB', password=, mechanismProperties=}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, CollectionCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.client.model.mql.ExpressionCodecProvider@3691d4da, com.mongodb.Jep395RecordCodecProvider@4c91a008]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[192.168.0.102:37017, 192.168.0.102:47017, 192.168.0.102:57107], srvServiceName=mongodb, mode=MULTIPLE, requiredClusterType=REPLICA_SET, requiredReplicaSetName='rs', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} 2024-03-22 18:09:02.823 INFO 38460 --- [cluster-ClusterId{value='65fd58bebf321b7f9b0d839e', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:37017, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=19657500, setName='rs', canonicalAddress=192.168.0.102:37017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000005, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aa1e543ec5a25b9306f, counter=13}, lastWriteDate=Fri Mar 22 18:09:01 CST 2024, lastUpdateTimeNanos=246294591391000} 2024-03-22 18:09:02.823 INFO 38460 --- [cluster-ClusterId{value='65fd58bebf321b7f9b0d839e', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:47017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=19821200, setName='rs', canonicalAddress=192.168.0.102:47017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aabf11a7ed1fff1639f, counter=14}, lastWriteDate=Fri Mar 22 18:09:01 CST 2024, lastUpdateTimeNanos=246294591391000} 2024-03-22 18:09:02.826 INFO 38460 --- [cluster-ClusterId{value='65fd58bebf321b7f9b0d839e', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57017 to client view of cluster 2024-03-22 18:09:02.827 INFO 38460 --- [cluster-ClusterId{value='65fd58bebf321b7f9b0d839e', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Server 192.168.0.102:57107 is no longer a member of the replica set. Removing from client view of cluster. 2024-03-22 18:09:02.829 INFO 38460 --- [cluster-ClusterId{value='65fd58bebf321b7f9b0d839e', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Discovered replica set primary 192.168.0.102:37017 with max election id 7fffffff0000000000000005 and max set version 1 2024-03-22 18:09:02.834 INFO 38460 --- [cluster-ClusterId{value='65fd58bebf321b7f9b0d839e', description='null'}-192.168.0.102:57017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:57017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=5041300, setName='rs', canonicalAddress=192.168.0.102:57017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7ab18e3e361d9a98b17e, counter=11}, lastWriteDate=Fri Mar 22 18:09:01 CST 2024, lastUpdateTimeNanos=246294602630300} 2024-03-22 18:09:02.896 WARN 38460 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:09:02.976 DEBUG 38460 --- [main] inMXBeanRegistrar$SpringApplicationAdmin : Application Admin MBean registered with name 'org.springframework.boot:type=Admin,name=SpringApplication' 2024-03-22 18:09:02.999 WARN 38460 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:09:03.024 WARN 38460 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.math.BigDecimal to class org.bson.types.Decimal128 as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:09:03.024 WARN 38460 --- [main] o.s.data.convert.CustomConversions : Registering converter from class org.bson.types.Decimal128 to class java.math.BigDecimal as writing converter although it doesn't convert to a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:09:03.024 WARN 38460 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:09:03.300 WARN 38460 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'oauthController': Unsatisfied dependency expressed through field 'appInfoService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appInfoService': Unsatisfied dependency expressed through field 'appInfoDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo 2024-03-22 18:09:03.310 INFO 38460 --- [main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:09:03.311 INFO 38460 --- [main] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2024-03-22 18:09:03.314 INFO 38460 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-03-22 18:09:03.318 INFO 38460 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2024-03-22 18:09:03.330 INFO 38460 --- [main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2024-03-22 18:09:03.339 INFO 38460 --- [main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-03-22 18:09:03.365 ERROR 38460 --- [main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'oauthController': Unsatisfied dependency expressed through field 'appInfoService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appInfoService': Unsatisfied dependency expressed through field 'appInfoDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.12.jar:2.7.12] at com.zswl.dataservicestarter.DataServiceStarterApplication.main(DataServiceStarterApplication.java:21) ~[classes/:na] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'appInfoService': Unsatisfied dependency expressed through field 'appInfoDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:660) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ~[spring-beans-5.3.26.jar:5.3.26] ... 20 common frames omitted Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1804) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657) ~[spring-beans-5.3.26.jar:5.3.26] ... 34 common frames omitted Caused by: java.lang.IllegalArgumentException: Not a managed type: class com.zswl.dataservicestarter.domain.AppInfo at org.hibernate.metamodel.internal.MetamodelImpl.managedType(MetamodelImpl.java:583) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final] at org.hibernate.metamodel.internal.MetamodelImpl.managedType(MetamodelImpl.java:85) ~[hibernate-core-5.6.15.Final.jar:5.6.15.Final] at org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformation.(JpaMetamodelEntityInformation.java:75) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaPersistableEntityInformation.(JpaPersistableEntityInformation.java:40) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaEntityInformationSupport.getEntityInformation(JpaEntityInformationSupport.java:64) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getEntityInformation(JpaRepositoryFactory.java:233) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:182) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:165) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactory.getTargetRepository(JpaRepositoryFactory.java:76) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:325) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:323) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.util.Lazy.getNullable(Lazy.java:231) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.util.Lazy.get(Lazy.java:115) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:329) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:144) ~[spring-data-jpa-2.7.12.jar:2.7.12] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-5.3.26.jar:5.3.26] ... 44 common frames omitted 2024-03-22 18:12:48.588 INFO 9580 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 9580 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 18:12:48.591 INFO 9580 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 18:12:48.592 DEBUG 9580 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 18:12:48.805 DEBUG 9580 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2b52c0d6 2024-03-22 18:12:49.249 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:12:49.249 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 18:12:49.314 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 55 ms. Found 3 JPA repository interfaces. 2024-03-22 18:12:49.329 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:12:49.329 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 18:12:49.333 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 4 ms. Found 3 MongoDB repository interfaces. 2024-03-22 18:12:49.392 DEBUG 9580 --- [main] o.s.b.a.AutoConfigurationPackages : @EnableAutoConfiguration was declared on a class in the package 'com.zswl.dataservicestarter'. Automatic @Repository and @Entity scanning is enabled. 2024-03-22 18:12:49.479 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:12:49.480 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2024-03-22 18:12:49.496 INFO 9580 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.AppInfoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:12:49.497 INFO 9580 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.MongoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:12:49.498 INFO 9580 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.UserDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:12:49.498 INFO 9580 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 10 ms. Found 0 Redis repository interfaces. 2024-03-22 18:12:49.583 WARN 9580 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zswl.dataservicestarter]' package. Please check your configuration. 2024-03-22 18:12:49.900 DEBUG 9580 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:12:49.900 DEBUG 9580 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:12:49.900 DEBUG 9580 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. 2024-03-22 18:12:49.917 INFO 9580 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9000 (http) 2024-03-22 18:12:49.923 INFO 9580 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-03-22 18:12:49.923 INFO 9580 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.75] 2024-03-22 18:12:50.029 INFO 9580 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-03-22 18:12:50.029 DEBUG 9580 --- [main] w.s.c.ServletWebServerApplicationContext : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] 2024-03-22 18:12:50.029 INFO 9580 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1224 ms 2024-03-22 18:12:50.040 DEBUG 9580 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping filters: characterEncodingFilter urls=[/*] order=-2147483648 2024-03-22 18:12:50.040 DEBUG 9580 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping servlets: dispatcherServlet urls=[/] 2024-03-22 18:12:50.057 DEBUG 9580 --- [main] s.b.w.s.f.OrderedCharacterEncodingFilter : Filter 'characterEncodingFilter' configured for use 2024-03-22 18:12:50.307 INFO 9580 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-03-22 18:12:50.452 INFO 9580 --- [main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported) 2024-03-22 18:12:50.453 INFO 9580 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-03-22 18:12:50.488 INFO 9580 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-03-22 18:12:50.529 INFO 9580 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-03-22 18:12:50.630 INFO 9580 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-03-22 18:12:50.715 INFO 9580 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2024-03-22 18:12:50.886 INFO 9580 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-03-22 18:12:50.898 INFO 9580 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:12:50.987 INFO 9580 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:37017 to client view of cluster 2024-03-22 18:12:51.021 INFO 9580 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:47017 to client view of cluster 2024-03-22 18:12:51.021 INFO 9580 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57107 to client view of cluster 2024-03-22 18:12:51.058 INFO 9580 --- [main] org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.9.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/11.0.12+8-LTS-237"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=MongoCredential{mechanism=null, userName='admin', source='dataDB', password=, mechanismProperties=}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, CollectionCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.client.model.mql.ExpressionCodecProvider@6ed7b9c5, com.mongodb.Jep395RecordCodecProvider@105dc246]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[192.168.0.102:37017, 192.168.0.102:47017, 192.168.0.102:57107], srvServiceName=mongodb, mode=MULTIPLE, requiredClusterType=REPLICA_SET, requiredReplicaSetName='rs', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} 2024-03-22 18:12:51.064 INFO 9580 --- [cluster-ClusterId{value='65fd59a240251b262aff809d', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:47017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=23335100, setName='rs', canonicalAddress=192.168.0.102:47017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aabf11a7ed1fff1639f, counter=14}, lastWriteDate=Fri Mar 22 18:12:41 CST 2024, lastUpdateTimeNanos=246522833088900} 2024-03-22 18:12:51.064 INFO 9580 --- [cluster-ClusterId{value='65fd59a240251b262aff809d', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:37017, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=23359300, setName='rs', canonicalAddress=192.168.0.102:37017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000005, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aa1e543ec5a25b9306f, counter=13}, lastWriteDate=Fri Mar 22 18:12:41 CST 2024, lastUpdateTimeNanos=246522833089000} 2024-03-22 18:12:51.067 INFO 9580 --- [cluster-ClusterId{value='65fd59a240251b262aff809d', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57017 to client view of cluster 2024-03-22 18:12:51.068 INFO 9580 --- [cluster-ClusterId{value='65fd59a240251b262aff809d', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Server 192.168.0.102:57107 is no longer a member of the replica set. Removing from client view of cluster. 2024-03-22 18:12:51.069 INFO 9580 --- [cluster-ClusterId{value='65fd59a240251b262aff809d', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Discovered replica set primary 192.168.0.102:37017 with max election id 7fffffff0000000000000005 and max set version 1 2024-03-22 18:12:51.072 INFO 9580 --- [cluster-ClusterId{value='65fd59a240251b262aff809d', description='null'}-192.168.0.102:57017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:57017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=2597600, setName='rs', canonicalAddress=192.168.0.102:57017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7ab18e3e361d9a98b17e, counter=11}, lastWriteDate=Fri Mar 22 18:12:41 CST 2024, lastUpdateTimeNanos=246522841260800} 2024-03-22 18:12:51.136 WARN 9580 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:12:51.210 DEBUG 9580 --- [main] inMXBeanRegistrar$SpringApplicationAdmin : Application Admin MBean registered with name 'org.springframework.boot:type=Admin,name=SpringApplication' 2024-03-22 18:12:51.230 WARN 9580 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:12:51.247 WARN 9580 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.math.BigDecimal to class org.bson.types.Decimal128 as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:12:51.247 WARN 9580 --- [main] o.s.data.convert.CustomConversions : Registering converter from class org.bson.types.Decimal128 to class java.math.BigDecimal as writing converter although it doesn't convert to a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:12:51.247 WARN 9580 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:12:51.679 WARN 9580 --- [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2024-03-22 18:12:51.718 DEBUG 9580 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : 5 mappings in 'requestMappingHandlerMapping' 2024-03-22 18:12:51.746 DEBUG 9580 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2024-03-22 18:12:51.764 DEBUG 9580 --- [main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice 2024-03-22 18:12:51.978 WARN 9580 --- [main] .b.a.g.t.GroovyTemplateAutoConfiguration : Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false) 2024-03-22 18:12:52.259 INFO 9580 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 9000 (http) with context path '' 2024-03-22 18:12:52.266 DEBUG 9580 --- [main] ySourcesPropertyResolver$DefaultResolver : Found key 'spring.liveBeansView.mbeanDomain' in PropertySource 'systemProperties' with value of type String 2024-03-22 18:12:52.268 INFO 9580 --- [main] c.z.d.DataServiceStarterApplication : Started DataServiceStarterApplication in 4.141 seconds (JVM running for 5.418) 2024-03-22 18:12:52.269 DEBUG 9580 --- [main] o.s.b.a.ApplicationAvailabilityBean : Application availability state LivenessState changed to CORRECT 2024-03-22 18:12:52.270 DEBUG 9580 --- [main] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed to ACCEPTING_TRAFFIC 2024-03-22 18:13:05.490 INFO 9580 --- [http-nio-9000-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-03-22 18:13:05.490 INFO 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-03-22 18:13:05.491 DEBUG 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : Detected StandardServletMultipartResolver 2024-03-22 18:13:05.491 DEBUG 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : Detected AcceptHeaderLocaleResolver 2024-03-22 18:13:05.491 DEBUG 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : Detected FixedThemeResolver 2024-03-22 18:13:05.491 DEBUG 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : Detected org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator@3dabdd11 2024-03-22 18:13:05.491 DEBUG 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : Detected org.springframework.web.servlet.support.SessionFlashMapManager@1a06ec24 2024-03-22 18:13:05.492 DEBUG 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : enableLoggingRequestDetails='false': request parameters and headers will be masked to prevent unsafe logging of potentially sensitive data 2024-03-22 18:13:05.492 INFO 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms 2024-03-22 18:13:05.497 DEBUG 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : GET "/test/test", parameters={} 2024-03-22 18:13:05.501 DEBUG 9580 --- [http-nio-9000-exec-2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.zswl.dataservicestarter.controller.TestController#test(String) 2024-03-22 18:13:05.623 INFO 9580 --- [http-nio-9000-exec-2] c.z.d.service.UserService : 名称: 名称 code 794854788 redis: FaxljkbXczUvyuzT 2024-03-22 18:13:05.683 DEBUG 9580 --- [http-nio-9000-exec-2] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2024-03-22 18:13:05.689 DEBUG 9580 --- [http-nio-9000-exec-2] m.m.a.RequestResponseBodyMethodProcessor : Writing [ResultContent(super=com.zswl.dataservicestarter.utils.result.ResultContent@772484e6, content=null, s (truncated)...] 2024-03-22 18:13:05.703 DEBUG 9580 --- [http-nio-9000-exec-2] o.s.web.servlet.DispatcherServlet : Completed 200 OK 2024-03-22 18:13:18.425 DEBUG 9580 --- [SpringApplicationShutdownHook] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed from ACCEPTING_TRAFFIC to REFUSING_TRAFFIC 2024-03-22 18:13:18.426 DEBUG 9580 --- [SpringApplicationShutdownHook] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2b52c0d6, started on Fri Mar 22 18:12:48 CST 2024 2024-03-22 18:13:18.426 DEBUG 9580 --- [SpringApplicationShutdownHook] ySourcesPropertyResolver$DefaultResolver : Found key 'spring.liveBeansView.mbeanDomain' in PropertySource 'systemProperties' with value of type String 2024-03-22 18:13:18.916 INFO 9580 --- [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:13:18.916 INFO 9580 --- [SpringApplicationShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2024-03-22 18:13:18.919 INFO 9580 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-03-22 18:13:18.921 INFO 9580 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2024-03-22 18:13:22.410 INFO 33228 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 33228 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 18:13:22.412 INFO 33228 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 18:13:22.413 DEBUG 33228 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 18:13:22.636 DEBUG 33228 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@372ea2bc 2024-03-22 18:13:23.072 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:13:23.072 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 18:13:23.125 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 46 ms. Found 3 JPA repository interfaces. 2024-03-22 18:13:23.139 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:13:23.139 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 18:13:23.143 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 3 ms. Found 3 MongoDB repository interfaces. 2024-03-22 18:13:23.197 DEBUG 33228 --- [main] o.s.b.a.AutoConfigurationPackages : @EnableAutoConfiguration was declared on a class in the package 'com.zswl.dataservicestarter'. Automatic @Repository and @Entity scanning is enabled. 2024-03-22 18:13:23.274 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:13:23.276 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2024-03-22 18:13:23.292 INFO 33228 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.AppInfoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:13:23.293 INFO 33228 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.MongoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:13:23.293 INFO 33228 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.UserDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:13:23.294 INFO 33228 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. 2024-03-22 18:13:23.391 WARN 33228 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zswl.dataservicestarter]' package. Please check your configuration. 2024-03-22 18:13:23.717 DEBUG 33228 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:13:23.717 DEBUG 33228 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:13:23.718 DEBUG 33228 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. 2024-03-22 18:13:23.733 INFO 33228 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9000 (http) 2024-03-22 18:13:23.741 INFO 33228 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-03-22 18:13:23.741 INFO 33228 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.75] 2024-03-22 18:13:23.846 INFO 33228 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-03-22 18:13:23.847 DEBUG 33228 --- [main] w.s.c.ServletWebServerApplicationContext : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] 2024-03-22 18:13:23.847 INFO 33228 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1211 ms 2024-03-22 18:13:23.857 DEBUG 33228 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping filters: characterEncodingFilter urls=[/*] order=-2147483648 2024-03-22 18:13:23.857 DEBUG 33228 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping servlets: dispatcherServlet urls=[/] 2024-03-22 18:13:23.872 DEBUG 33228 --- [main] s.b.w.s.f.OrderedCharacterEncodingFilter : Filter 'characterEncodingFilter' configured for use 2024-03-22 18:13:24.176 INFO 33228 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-03-22 18:13:24.331 INFO 33228 --- [main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported) 2024-03-22 18:13:24.332 INFO 33228 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-03-22 18:13:24.373 INFO 33228 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-03-22 18:13:24.418 INFO 33228 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-03-22 18:13:24.517 INFO 33228 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-03-22 18:13:24.612 INFO 33228 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2024-03-22 18:13:24.750 INFO 33228 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-03-22 18:13:24.759 INFO 33228 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:13:24.820 INFO 33228 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:37017 to client view of cluster 2024-03-22 18:13:24.842 INFO 33228 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:47017 to client view of cluster 2024-03-22 18:13:24.843 INFO 33228 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57107 to client view of cluster 2024-03-22 18:13:24.885 INFO 33228 --- [main] org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.9.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/11.0.12+8-LTS-237"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=MongoCredential{mechanism=null, userName='admin', source='dataDB', password=, mechanismProperties=}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, CollectionCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.client.model.mql.ExpressionCodecProvider@10ba9780, com.mongodb.Jep395RecordCodecProvider@63636de0]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[192.168.0.102:37017, 192.168.0.102:47017, 192.168.0.102:57107], srvServiceName=mongodb, mode=MULTIPLE, requiredClusterType=REPLICA_SET, requiredReplicaSetName='rs', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} 2024-03-22 18:13:24.895 INFO 33228 --- [cluster-ClusterId{value='65fd59c44fb17f49e6aea79c', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:37017, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=26823400, setName='rs', canonicalAddress=192.168.0.102:37017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000005, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aa1e543ec5a25b9306f, counter=13}, lastWriteDate=Fri Mar 22 18:13:21 CST 2024, lastUpdateTimeNanos=246556662770900} 2024-03-22 18:13:24.895 INFO 33228 --- [cluster-ClusterId{value='65fd59c44fb17f49e6aea79c', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:47017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=26820300, setName='rs', canonicalAddress=192.168.0.102:47017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aabf11a7ed1fff1639f, counter=14}, lastWriteDate=Fri Mar 22 18:13:21 CST 2024, lastUpdateTimeNanos=246556662770900} 2024-03-22 18:13:24.899 INFO 33228 --- [cluster-ClusterId{value='65fd59c44fb17f49e6aea79c', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57017 to client view of cluster 2024-03-22 18:13:24.900 INFO 33228 --- [cluster-ClusterId{value='65fd59c44fb17f49e6aea79c', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Server 192.168.0.102:57107 is no longer a member of the replica set. Removing from client view of cluster. 2024-03-22 18:13:24.901 INFO 33228 --- [cluster-ClusterId{value='65fd59c44fb17f49e6aea79c', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Discovered replica set primary 192.168.0.102:37017 with max election id 7fffffff0000000000000005 and max set version 1 2024-03-22 18:13:24.906 INFO 33228 --- [cluster-ClusterId{value='65fd59c44fb17f49e6aea79c', description='null'}-192.168.0.102:57017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:57017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=4441700, setName='rs', canonicalAddress=192.168.0.102:57017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7ab18e3e361d9a98b17e, counter=11}, lastWriteDate=Fri Mar 22 18:13:21 CST 2024, lastUpdateTimeNanos=246556674998800} 2024-03-22 18:13:24.972 WARN 33228 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:13:25.053 DEBUG 33228 --- [main] inMXBeanRegistrar$SpringApplicationAdmin : Application Admin MBean registered with name 'org.springframework.boot:type=Admin,name=SpringApplication' 2024-03-22 18:13:25.071 WARN 33228 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:13:25.089 WARN 33228 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.math.BigDecimal to class org.bson.types.Decimal128 as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:13:25.089 WARN 33228 --- [main] o.s.data.convert.CustomConversions : Registering converter from class org.bson.types.Decimal128 to class java.math.BigDecimal as writing converter although it doesn't convert to a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:13:25.090 WARN 33228 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:13:25.519 WARN 33228 --- [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2024-03-22 18:13:25.571 DEBUG 33228 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : 5 mappings in 'requestMappingHandlerMapping' 2024-03-22 18:13:25.607 DEBUG 33228 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2024-03-22 18:13:25.628 DEBUG 33228 --- [main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice 2024-03-22 18:13:25.845 WARN 33228 --- [main] .b.a.g.t.GroovyTemplateAutoConfiguration : Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false) 2024-03-22 18:13:26.143 INFO 33228 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 9000 (http) with context path '' 2024-03-22 18:13:26.150 DEBUG 33228 --- [main] ySourcesPropertyResolver$DefaultResolver : Found key 'spring.liveBeansView.mbeanDomain' in PropertySource 'systemProperties' with value of type String 2024-03-22 18:13:26.152 INFO 33228 --- [main] c.z.d.DataServiceStarterApplication : Started DataServiceStarterApplication in 4.271 seconds (JVM running for 5.687) 2024-03-22 18:13:26.153 DEBUG 33228 --- [main] o.s.b.a.ApplicationAvailabilityBean : Application availability state LivenessState changed to CORRECT 2024-03-22 18:13:26.154 DEBUG 33228 --- [main] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed to ACCEPTING_TRAFFIC 2024-03-22 18:13:40.485 DEBUG 33228 --- [SpringApplicationShutdownHook] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed from ACCEPTING_TRAFFIC to REFUSING_TRAFFIC 2024-03-22 18:13:40.485 DEBUG 33228 --- [SpringApplicationShutdownHook] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@372ea2bc, started on Fri Mar 22 18:13:22 CST 2024 2024-03-22 18:13:40.485 DEBUG 33228 --- [SpringApplicationShutdownHook] ySourcesPropertyResolver$DefaultResolver : Found key 'spring.liveBeansView.mbeanDomain' in PropertySource 'systemProperties' with value of type String 2024-03-22 18:13:40.860 INFO 33228 --- [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:13:40.860 INFO 33228 --- [SpringApplicationShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2024-03-22 18:13:40.864 INFO 33228 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-03-22 18:13:40.868 INFO 33228 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2024-03-22 18:13:43.571 INFO 22608 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 22608 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 18:13:43.574 INFO 22608 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 18:13:43.574 DEBUG 22608 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 18:13:43.798 DEBUG 22608 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@f415a95 2024-03-22 18:13:44.222 INFO 22608 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:13:44.222 INFO 22608 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 18:13:44.276 INFO 22608 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 47 ms. Found 3 JPA repository interfaces. 2024-03-22 18:13:44.290 INFO 22608 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:13:44.290 INFO 22608 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 18:13:44.294 WARN 22608 --- [main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableMongoRepositories declared on MongoConfiguration: Cannot register bean definition [Root bean: class [org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableMongoRepositories declared on MongoConfiguration] for bean 'appInfoDao': There is already [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaConfig] bound. 2024-03-22 18:13:44.300 INFO 22608 --- [main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2024-03-22 18:13:44.325 DEBUG 22608 --- [main] o.s.b.d.LoggingFailureAnalysisReporter : Application failed to start due to an exception org.springframework.beans.factory.support.BeanDefinitionOverrideException: Invalid bean definition with name 'appInfoDao' defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableMongoRepositories declared on MongoConfiguration: Cannot register bean definition [Root bean: class [org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableMongoRepositories declared on MongoConfiguration] for bean 'appInfoDao': There is already [Root bean: class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaConfig] bound. at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerBeanDefinition(DefaultListableBeanFactory.java:1006) ~[spring-beans-5.3.26.jar:5.3.26] at org.springframework.data.repository.config.RepositoryConfigurationDelegate.registerRepositoriesIn(RepositoryConfigurationDelegate.java:189) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.data.repository.config.RepositoryBeanDefinitionRegistrarSupport.registerBeanDefinitions(RepositoryBeanDefinitionRegistrarSupport.java:106) ~[spring-data-commons-2.7.12.jar:2.7.12] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:396) ~[spring-context-5.3.26.jar:5.3.26] at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) ~[na:na] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:395) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:157) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:129) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:343) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:247) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:311) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:748) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~[spring-context-5.3.26.jar:5.3.26] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) ~[spring-boot-2.7.12.jar:2.7.12] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) ~[spring-boot-2.7.12.jar:2.7.12] at com.zswl.dataservicestarter.DataServiceStarterApplication.main(DataServiceStarterApplication.java:21) ~[classes/:na] 2024-03-22 18:13:44.325 ERROR 22608 --- [main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: The bean 'appInfoDao', defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableMongoRepositories declared on MongoConfiguration, could not be registered. A bean with that name has already been defined in com.zswl.dataservicestarter.dao.AppInfoDao defined in @EnableJpaRepositories declared on JpaConfig and overriding is disabled. Action: Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true 2024-03-22 18:14:37.560 INFO 34156 --- [main] c.z.d.DataServiceStarterApplication : Starting DataServiceStarterApplication using Java 11.0.12 on TRX with PID 34156 (D:\zswlWorkspace\DataServiceStarter\target\classes started by root in D:\zswlWorkspace\DataServiceStarter) 2024-03-22 18:14:37.562 INFO 34156 --- [main] c.z.d.DataServiceStarterApplication : The following 1 profile is active: "dev" 2024-03-22 18:14:37.562 DEBUG 34156 --- [main] o.s.boot.SpringApplication : Loading source class com.zswl.dataservicestarter.DataServiceStarterApplication 2024-03-22 18:14:37.879 DEBUG 34156 --- [main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2b52c0d6 2024-03-22 18:14:38.359 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:14:38.359 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2024-03-22 18:14:38.427 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 62 ms. Found 3 JPA repository interfaces. 2024-03-22 18:14:38.442 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:14:38.443 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. 2024-03-22 18:14:38.447 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 4 ms. Found 3 MongoDB repository interfaces. 2024-03-22 18:14:38.494 DEBUG 34156 --- [main] o.s.b.a.AutoConfigurationPackages : @EnableAutoConfiguration was declared on a class in the package 'com.zswl.dataservicestarter'. Automatic @Repository and @Entity scanning is enabled. 2024-03-22 18:14:38.604 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2024-03-22 18:14:38.606 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2024-03-22 18:14:38.629 INFO 34156 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.AppInfoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:14:38.630 INFO 34156 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.MongoDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:14:38.631 INFO 34156 --- [main] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.zswl.dataservicestarter.dao.UserDao; If you want this repository to be a Redis repository, consider annotating your entities with one of these annotations: org.springframework.data.redis.core.RedisHash (preferred), or consider extending one of the following types with your repository: org.springframework.data.keyvalue.repository.KeyValueRepository 2024-03-22 18:14:38.631 INFO 34156 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. 2024-03-22 18:14:38.731 WARN 34156 --- [main] o.m.s.mapper.ClassPathMapperScanner : No MyBatis mapper was found in '[com.zswl.dataservicestarter]' package. Please check your configuration. 2024-03-22 18:14:39.056 DEBUG 34156 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:14:39.056 DEBUG 34156 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : Code archive: D:\.m3\repository\org\springframework\boot\spring-boot\2.7.12\spring-boot-2.7.12.jar 2024-03-22 18:14:39.057 DEBUG 34156 --- [main] .s.b.w.e.t.TomcatServletWebServerFactory : None of the document roots [src/main/webapp, public, static] point to a directory and will be ignored. 2024-03-22 18:14:39.071 INFO 34156 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9000 (http) 2024-03-22 18:14:39.077 INFO 34156 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-03-22 18:14:39.077 INFO 34156 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.75] 2024-03-22 18:14:39.196 INFO 34156 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-03-22 18:14:39.196 DEBUG 34156 --- [main] w.s.c.ServletWebServerApplicationContext : Published root WebApplicationContext as ServletContext attribute with name [org.springframework.web.context.WebApplicationContext.ROOT] 2024-03-22 18:14:39.196 INFO 34156 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1318 ms 2024-03-22 18:14:39.206 DEBUG 34156 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping filters: characterEncodingFilter urls=[/*] order=-2147483648 2024-03-22 18:14:39.206 DEBUG 34156 --- [main] o.s.b.w.s.ServletContextInitializerBeans : Mapping servlets: dispatcherServlet urls=[/] 2024-03-22 18:14:39.225 DEBUG 34156 --- [main] s.b.w.s.f.OrderedCharacterEncodingFilter : Filter 'characterEncodingFilter' configured for use 2024-03-22 18:14:39.464 INFO 34156 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-03-22 18:14:39.590 INFO 34156 --- [main] com.zaxxer.hikari.pool.PoolBase : HikariPool-1 - Driver does not support get/set network timeout for connections. (feature not supported) 2024-03-22 18:14:39.592 INFO 34156 --- [main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-03-22 18:14:39.623 INFO 34156 --- [main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2024-03-22 18:14:39.659 INFO 34156 --- [main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final 2024-03-22 18:14:39.776 INFO 34156 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2024-03-22 18:14:39.861 INFO 34156 --- [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect 2024-03-22 18:14:39.981 INFO 34156 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2024-03-22 18:14:39.995 INFO 34156 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:14:40.058 INFO 34156 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:37017 to client view of cluster 2024-03-22 18:14:40.080 INFO 34156 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:47017 to client view of cluster 2024-03-22 18:14:40.081 INFO 34156 --- [main] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57107 to client view of cluster 2024-03-22 18:14:40.099 INFO 34156 --- [main] org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.9.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/11.0.12+8-LTS-237"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=MongoCredential{mechanism=null, userName='admin', source='dataDB', password=, mechanismProperties=}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, CollectionCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.client.model.mql.ExpressionCodecProvider@87f6ab5, com.mongodb.Jep395RecordCodecProvider@5c316230]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[192.168.0.102:37017, 192.168.0.102:47017, 192.168.0.102:57107], srvServiceName=mongodb, mode=MULTIPLE, requiredClusterType=REPLICA_SET, requiredReplicaSetName='rs', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} 2024-03-22 18:14:40.106 INFO 34156 --- [cluster-ClusterId{value='65fd5a10fb40ff251808928e', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:37017, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=16193500, setName='rs', canonicalAddress=192.168.0.102:37017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000005, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aa1e543ec5a25b9306f, counter=13}, lastWriteDate=Fri Mar 22 18:14:31 CST 2024, lastUpdateTimeNanos=246631874557300} 2024-03-22 18:14:40.106 INFO 34156 --- [cluster-ClusterId{value='65fd5a10fb40ff251808928e', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:47017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=16193400, setName='rs', canonicalAddress=192.168.0.102:47017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7aabf11a7ed1fff1639f, counter=14}, lastWriteDate=Fri Mar 22 18:14:31 CST 2024, lastUpdateTimeNanos=246631874557400} 2024-03-22 18:14:40.110 INFO 34156 --- [cluster-ClusterId{value='65fd5a10fb40ff251808928e', description='null'}-192.168.0.102:47017] org.mongodb.driver.cluster : Adding discovered server 192.168.0.102:57017 to client view of cluster 2024-03-22 18:14:40.110 INFO 34156 --- [cluster-ClusterId{value='65fd5a10fb40ff251808928e', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Server 192.168.0.102:57107 is no longer a member of the replica set. Removing from client view of cluster. 2024-03-22 18:14:40.111 INFO 34156 --- [cluster-ClusterId{value='65fd5a10fb40ff251808928e', description='null'}-192.168.0.102:37017] org.mongodb.driver.cluster : Discovered replica set primary 192.168.0.102:37017 with max election id 7fffffff0000000000000005 and max set version 1 2024-03-22 18:14:40.115 INFO 34156 --- [cluster-ClusterId{value='65fd5a10fb40ff251808928e', description='null'}-192.168.0.102:57017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=192.168.0.102:57017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=3844000, setName='rs', canonicalAddress=192.168.0.102:57017, hosts=[192.168.0.102:57017, 192.168.0.102:37017, 192.168.0.102:47017], passives=[], arbiters=[], primary='192.168.0.102:37017', tagSet=TagSet{[]}, electionId=null, setVersion=1, topologyVersion=TopologyVersion{processId=65fa7ab18e3e361d9a98b17e, counter=11}, lastWriteDate=Fri Mar 22 18:14:31 CST 2024, lastUpdateTimeNanos=246631884439400} 2024-03-22 18:14:40.179 WARN 34156 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:14:40.258 DEBUG 34156 --- [main] inMXBeanRegistrar$SpringApplicationAdmin : Application Admin MBean registered with name 'org.springframework.boot:type=Admin,name=SpringApplication' 2024-03-22 18:14:40.278 WARN 34156 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:14:40.296 WARN 34156 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.math.BigDecimal to class org.bson.types.Decimal128 as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:14:40.296 WARN 34156 --- [main] o.s.data.convert.CustomConversions : Registering converter from class org.bson.types.Decimal128 to class java.math.BigDecimal as writing converter although it doesn't convert to a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:14:40.296 WARN 34156 --- [main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type; You might want to check your annotation setup at the converter implementation 2024-03-22 18:14:40.682 WARN 34156 --- [main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2024-03-22 18:14:40.722 DEBUG 34156 --- [main] s.w.s.m.m.a.RequestMappingHandlerMapping : 5 mappings in 'requestMappingHandlerMapping' 2024-03-22 18:14:40.752 DEBUG 34156 --- [main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2024-03-22 18:14:40.770 DEBUG 34156 --- [main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 0 @ExceptionHandler, 1 ResponseBodyAdvice 2024-03-22 18:14:40.997 WARN 34156 --- [main] .b.a.g.t.GroovyTemplateAutoConfiguration : Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false) 2024-03-22 18:14:41.328 INFO 34156 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 9000 (http) with context path '' 2024-03-22 18:14:41.336 DEBUG 34156 --- [main] ySourcesPropertyResolver$DefaultResolver : Found key 'spring.liveBeansView.mbeanDomain' in PropertySource 'systemProperties' with value of type String 2024-03-22 18:14:41.342 INFO 34156 --- [main] c.z.d.DataServiceStarterApplication : Started DataServiceStarterApplication in 4.247 seconds (JVM running for 5.438) 2024-03-22 18:14:41.343 DEBUG 34156 --- [main] o.s.b.a.ApplicationAvailabilityBean : Application availability state LivenessState changed to CORRECT 2024-03-22 18:14:41.344 DEBUG 34156 --- [main] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed to ACCEPTING_TRAFFIC 2024-03-22 18:16:26.327 DEBUG 34156 --- [SpringApplicationShutdownHook] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed from ACCEPTING_TRAFFIC to REFUSING_TRAFFIC 2024-03-22 18:16:26.327 DEBUG 34156 --- [SpringApplicationShutdownHook] ConfigServletWebServerApplicationContext : Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@2b52c0d6, started on Fri Mar 22 18:14:37 CST 2024 2024-03-22 18:16:26.327 DEBUG 34156 --- [SpringApplicationShutdownHook] ySourcesPropertyResolver$DefaultResolver : Found key 'spring.liveBeansView.mbeanDomain' in PropertySource 'systemProperties' with value of type String 2024-03-22 18:16:26.761 INFO 34156 --- [SpringApplicationShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2024-03-22 18:16:26.761 INFO 34156 --- [SpringApplicationShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2024-03-22 18:16:26.764 INFO 34156 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-03-22 18:16:26.766 INFO 34156 --- [SpringApplicationShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.