diff --git a/data/log/log_error.log b/data/log/log_error.log index 60d3d1c826f4cc44612ce9269ff3f7416e2cfb2a..b4535bdb346248efbbf9e3323e80dc8651b4585e 100644 --- a/data/log/log_error.log +++ b/data/log/log_error.log @@ -1 +1,89 @@ -24-04-03.10:27:41.976 [main ] WARN ClassPathMapperScanner - No MyBatis mapper was found in '[cn.bugstack]' package. Please check your configuration. +24-04-05.17:42:28.254 [RMI TCP Connection(16)-2.0.0.1] WARN HealthEndpointSupport - Health contributor org.springframework.boot.actuate.jdbc.DataSourceHealthIndicator (db) took 53954ms to respond +24-04-05.17:42:39.038 [redisson-netty-2-2] WARN RedisReactiveHealthIndicator - Redis health check failed +org.springframework.data.redis.RedisSystemException: NOAUTH Authentication required.. channel: [id: 0x2c1446a4, L:/192.168.30.92:64003 - R:120.78.91.227/120.78.91.227:6379] data: CommandData [promise=java.util.concurrent.CompletableFuture@331b138c[Not completed, 1 dependents], command=(INFO), params=[server], codec=org.redisson.client.codec.StringCodec]; nested exception is org.redisson.client.RedisAuthRequiredException: NOAUTH Authentication required.. channel: [id: 0x2c1446a4, L:/192.168.30.92:64003 - R:120.78.91.227/120.78.91.227:6379] data: CommandData [promise=java.util.concurrent.CompletableFuture@331b138c[Not completed, 1 dependents], command=(INFO), params=[server], codec=org.redisson.client.codec.StringCodec] + at org.redisson.spring.data.connection.RedissonBaseReactive.lambda$read$5(RedissonBaseReactive.java:91) + at reactor.core.publisher.Mono.lambda$onErrorMap$31(Mono.java:3811) + at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) + at reactor.core.publisher.MonoNext$NextSubscriber.onError(MonoNext.java:93) + at reactor.core.publisher.FluxCreate$BaseSink.error(FluxCreate.java:474) + at reactor.core.publisher.FluxCreate$BufferAsyncSink.drain(FluxCreate.java:802) + at reactor.core.publisher.FluxCreate$BufferAsyncSink.error(FluxCreate.java:747) + at reactor.core.publisher.FluxCreate$SerializedFluxSink.drainLoop(FluxCreate.java:237) + at reactor.core.publisher.FluxCreate$SerializedFluxSink.drain(FluxCreate.java:213) + at reactor.core.publisher.FluxCreate$SerializedFluxSink.error(FluxCreate.java:189) + at org.redisson.reactive.CommandReactiveService.lambda$reactive$1(CommandReactiveService.java:60) + at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) + at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) + at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) + at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990) + at org.redisson.command.RedisExecutor.handleError(RedisExecutor.java:583) + at org.redisson.command.RedisExecutor.handleResult(RedisExecutor.java:565) + at org.redisson.command.RedisExecutor.checkAttemptPromise(RedisExecutor.java:553) + at org.redisson.command.RedisExecutor.lambda$execute$5(RedisExecutor.java:195) + at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) + at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) + at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) + at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990) + at org.redisson.client.protocol.CommandData.tryFailure(CommandData.java:87) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:368) + at org.redisson.client.handler.CommandDecoder.decodeCommand(CommandDecoder.java:205) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:120) + at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529) + at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:748) +Caused by: org.redisson.client.RedisAuthRequiredException: NOAUTH Authentication required.. channel: [id: 0x2c1446a4, L:/192.168.30.92:64003 - R:120.78.91.227/120.78.91.227:6379] data: CommandData [promise=java.util.concurrent.CompletableFuture@331b138c[Not completed, 1 dependents], command=(INFO), params=[server], codec=org.redisson.client.codec.StringCodec] + ... 23 common frames omitted +24-04-05.17:42:39.145 [RMI TCP Connection(16)-2.0.0.1] WARN HealthEndpointSupport - Health contributor org.springframework.boot.actuate.autoconfigure.health.HealthEndpointConfiguration$AdaptedReactiveHealthContributors$1 (redis) took 10845ms to respond +24-04-05.18:05:52.824 [HikariPool-1 housekeeper] WARN HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=4m57s651ms233µs). +24-04-05.18:51:19.253 [redisson-netty-2-22] ERROR rejectedExecution - Failed to submit a listener notification task. Event loop shut down? +java.util.concurrent.RejectedExecutionException: event executor terminated + at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:934) + at io.netty.util.concurrent.SingleThreadEventExecutor.offerTask(SingleThreadEventExecutor.java:351) + at io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:344) + at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:836) + at io.netty.util.concurrent.SingleThreadEventExecutor.execute0(SingleThreadEventExecutor.java:827) + at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:817) + at io.netty.util.concurrent.DefaultPromise.safeExecute(DefaultPromise.java:862) + at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:500) + at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) + at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:625) + at io.netty.util.concurrent.DefaultPromise.setSuccess(DefaultPromise.java:97) + at io.netty.channel.group.DefaultChannelGroupFuture.setSuccess0(DefaultChannelGroupFuture.java:200) + at io.netty.channel.group.DefaultChannelGroupFuture.access$400(DefaultChannelGroupFuture.java:41) + at io.netty.channel.group.DefaultChannelGroupFuture$1.operationComplete(DefaultChannelGroupFuture.java:75) + at io.netty.channel.group.DefaultChannelGroupFuture$1.operationComplete(DefaultChannelGroupFuture.java:48) + at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) + at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) + at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) + at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) + at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) + at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:625) + at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:105) + at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:84) + at io.netty.channel.AbstractChannel$CloseFuture.setClosed(AbstractChannel.java:1164) + at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:755) + at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:731) + at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:620) + at io.netty.channel.nio.NioEventLoop.closeAll(NioEventLoop.java:838) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:595) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:748) diff --git a/data/log/log_info.log b/data/log/log_info.log index 4bdba8598e3f2be44f7dff3bc6fb37aaa1f83e23..c7afb0753d594309d6c62221687e7f5985fd1b38 100644 --- a/data/log/log_info.log +++ b/data/log/log_info.log @@ -1,12 +1,114 @@ -24-04-03.10:27:41.230 [main ] INFO Application - Starting Application using Java 1.8.0_241 on Hudingrong with PID 23744 (E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite) -24-04-03.10:27:41.233 [main ] INFO Application - The following 1 profile is active: "dev" -24-04-03.10:27:41.976 [main ] WARN ClassPathMapperScanner - No MyBatis mapper was found in '[cn.bugstack]' package. Please check your configuration. -24-04-03.10:27:42.458 [main ] INFO TomcatWebServer - Tomcat initialized with port(s): 8091 (http) -24-04-03.10:27:42.467 [main ] INFO Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8091"] -24-04-03.10:27:42.468 [main ] INFO StandardService - Starting service [Tomcat] -24-04-03.10:27:42.468 [main ] INFO StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.75] -24-04-03.10:27:42.629 [main ] INFO [/] - Initializing Spring embedded WebApplicationContext -24-04-03.10:27:42.629 [main ] INFO ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1329 ms -24-04-03.10:27:43.331 [main ] INFO Http11NioProtocol - Starting ProtocolHandler ["http-nio-8091"] -24-04-03.10:27:43.350 [main ] INFO TomcatWebServer - Tomcat started on port(s): 8091 (http) with context path '' -24-04-03.10:27:43.362 [main ] INFO Application - Started Application in 2.792 seconds (JVM running for 4.844) +24-04-05.17:38:41.351 [main ] INFO Application - Starting Application using Java 1.8.0_241 on Hudingrong with PID 22032 (E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite) +24-04-05.17:38:41.355 [main ] INFO Application - The following 1 profile is active: "dev" +24-04-05.17:38:42.242 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-05.17:38:42.244 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-05.17:38:42.266 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +24-04-05.17:38:42.845 [main ] INFO TomcatWebServer - Tomcat initialized with port(s): 8091 (http) +24-04-05.17:38:42.854 [main ] INFO Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8091"] +24-04-05.17:38:42.855 [main ] INFO StandardService - Starting service [Tomcat] +24-04-05.17:38:42.855 [main ] INFO StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.75] +24-04-05.17:38:43.001 [main ] INFO [/] - Initializing Spring embedded WebApplicationContext +24-04-05.17:38:43.001 [main ] INFO ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 1578 ms +24-04-05.17:39:14.543 [main ] INFO Version - Redisson 3.23.4 +24-04-05.17:39:15.424 [redisson-netty-2-6] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-05.17:39:15.738 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-05.17:41:07.774 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-05.17:41:23.098 [main ] INFO Http11NioProtocol - Starting ProtocolHandler ["http-nio-8091"] +24-04-05.17:41:23.612 [main ] INFO TomcatWebServer - Tomcat started on port(s): 8091 (http) with context path '' +24-04-05.17:41:29.793 [main ] INFO Application - Started Application in 169.057 seconds (JVM running for 171.573) +24-04-05.17:41:34.363 [RMI TCP Connection(16)-2.0.0.1] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-05.17:41:34.595 [RMI TCP Connection(17)-2.0.0.1] INFO [/] - Initializing Spring DispatcherServlet 'dispatcherServlet' +24-04-05.17:41:34.609 [RMI TCP Connection(17)-2.0.0.1] INFO DispatcherServlet - Initializing Servlet 'dispatcherServlet' +24-04-05.17:41:35.876 [RMI TCP Connection(17)-2.0.0.1] INFO DispatcherServlet - Completed initialization in 1254 ms +24-04-05.17:42:24.568 [RMI TCP Connection(16)-2.0.0.1] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-05.17:42:28.254 [RMI TCP Connection(16)-2.0.0.1] WARN HealthEndpointSupport - Health contributor org.springframework.boot.actuate.jdbc.DataSourceHealthIndicator (db) took 53954ms to respond +24-04-05.17:42:39.038 [redisson-netty-2-2] WARN RedisReactiveHealthIndicator - Redis health check failed +org.springframework.data.redis.RedisSystemException: NOAUTH Authentication required.. channel: [id: 0x2c1446a4, L:/192.168.30.92:64003 - R:120.78.91.227/120.78.91.227:6379] data: CommandData [promise=java.util.concurrent.CompletableFuture@331b138c[Not completed, 1 dependents], command=(INFO), params=[server], codec=org.redisson.client.codec.StringCodec]; nested exception is org.redisson.client.RedisAuthRequiredException: NOAUTH Authentication required.. channel: [id: 0x2c1446a4, L:/192.168.30.92:64003 - R:120.78.91.227/120.78.91.227:6379] data: CommandData [promise=java.util.concurrent.CompletableFuture@331b138c[Not completed, 1 dependents], command=(INFO), params=[server], codec=org.redisson.client.codec.StringCodec] + at org.redisson.spring.data.connection.RedissonBaseReactive.lambda$read$5(RedissonBaseReactive.java:91) + at reactor.core.publisher.Mono.lambda$onErrorMap$31(Mono.java:3811) + at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onError(FluxOnErrorResume.java:94) + at reactor.core.publisher.MonoNext$NextSubscriber.onError(MonoNext.java:93) + at reactor.core.publisher.FluxCreate$BaseSink.error(FluxCreate.java:474) + at reactor.core.publisher.FluxCreate$BufferAsyncSink.drain(FluxCreate.java:802) + at reactor.core.publisher.FluxCreate$BufferAsyncSink.error(FluxCreate.java:747) + at reactor.core.publisher.FluxCreate$SerializedFluxSink.drainLoop(FluxCreate.java:237) + at reactor.core.publisher.FluxCreate$SerializedFluxSink.drain(FluxCreate.java:213) + at reactor.core.publisher.FluxCreate$SerializedFluxSink.error(FluxCreate.java:189) + at org.redisson.reactive.CommandReactiveService.lambda$reactive$1(CommandReactiveService.java:60) + at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) + at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) + at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) + at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990) + at org.redisson.command.RedisExecutor.handleError(RedisExecutor.java:583) + at org.redisson.command.RedisExecutor.handleResult(RedisExecutor.java:565) + at org.redisson.command.RedisExecutor.checkAttemptPromise(RedisExecutor.java:553) + at org.redisson.command.RedisExecutor.lambda$execute$5(RedisExecutor.java:195) + at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:774) + at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:750) + at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) + at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990) + at org.redisson.client.protocol.CommandData.tryFailure(CommandData.java:87) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:368) + at org.redisson.client.handler.CommandDecoder.decodeCommand(CommandDecoder.java:205) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:120) + at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529) + at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:748) +Caused by: org.redisson.client.RedisAuthRequiredException: NOAUTH Authentication required.. channel: [id: 0x2c1446a4, L:/192.168.30.92:64003 - R:120.78.91.227/120.78.91.227:6379] data: CommandData [promise=java.util.concurrent.CompletableFuture@331b138c[Not completed, 1 dependents], command=(INFO), params=[server], codec=org.redisson.client.codec.StringCodec] + ... 23 common frames omitted +24-04-05.17:42:39.145 [RMI TCP Connection(16)-2.0.0.1] WARN HealthEndpointSupport - Health contributor org.springframework.boot.actuate.autoconfigure.health.HealthEndpointConfiguration$AdaptedReactiveHealthContributors$1 (redis) took 10845ms to respond +24-04-05.18:05:52.824 [HikariPool-1 housekeeper] WARN HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=4m57s651ms233µs). +24-04-05.18:51:19.253 [redisson-netty-2-22] ERROR rejectedExecution - Failed to submit a listener notification task. Event loop shut down? +java.util.concurrent.RejectedExecutionException: event executor terminated + at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:934) + at io.netty.util.concurrent.SingleThreadEventExecutor.offerTask(SingleThreadEventExecutor.java:351) + at io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:344) + at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:836) + at io.netty.util.concurrent.SingleThreadEventExecutor.execute0(SingleThreadEventExecutor.java:827) + at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:817) + at io.netty.util.concurrent.DefaultPromise.safeExecute(DefaultPromise.java:862) + at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:500) + at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) + at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:625) + at io.netty.util.concurrent.DefaultPromise.setSuccess(DefaultPromise.java:97) + at io.netty.channel.group.DefaultChannelGroupFuture.setSuccess0(DefaultChannelGroupFuture.java:200) + at io.netty.channel.group.DefaultChannelGroupFuture.access$400(DefaultChannelGroupFuture.java:41) + at io.netty.channel.group.DefaultChannelGroupFuture$1.operationComplete(DefaultChannelGroupFuture.java:75) + at io.netty.channel.group.DefaultChannelGroupFuture$1.operationComplete(DefaultChannelGroupFuture.java:48) + at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:590) + at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:583) + at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:559) + at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:492) + at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:636) + at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:625) + at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:105) + at io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:84) + at io.netty.channel.AbstractChannel$CloseFuture.setClosed(AbstractChannel.java:1164) + at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:755) + at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:731) + at io.netty.channel.AbstractChannel$AbstractUnsafe.close(AbstractChannel.java:620) + at io.netty.channel.nio.NioEventLoop.closeAll(NioEventLoop.java:838) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:595) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:748) +24-04-05.18:51:19.260 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-05.18:51:19.482 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. diff --git a/pom.xml b/pom.xml index e8214c07e5b5eb5aeca3240f180d44d1b8d44e26..c0bdad9a9527e417f7e6cccc94ff0ac8e56153f5 100644 --- a/pom.xml +++ b/pom.xml @@ -100,6 +100,11 @@ commons-codec 1.15 + + org.redisson + redisson-spring-boot-starter + 3.23.4 + diff --git a/xfg-frame-archetype-lite-app/data/log/log_error.log b/xfg-frame-archetype-lite-app/data/log/log_error.log index ce93354799844bcb5509754144c456974740c45f..b683ae8ab2d2df563fe11447f13b8ce7afbc0703 100644 --- a/xfg-frame-archetype-lite-app/data/log/log_error.log +++ b/xfg-frame-archetype-lite-app/data/log/log_error.log @@ -841,3 +841,110 @@ Caused by: java.net.SocketException: Socket closed at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44) at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:538) ... 61 common frames omitted +24-04-07.16:11:22.663 [main ] ERROR TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@40317ba2] to prepare test instance [cn.bugstack.test.infrastructure.AwardDaoTest@58d79479] +org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cn.bugstack.test.infrastructure.AwardDaoTest': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'redissonService': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:332) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:417) + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:119) + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) + at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43) + at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) + at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) + at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) + at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) + at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) + at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) + at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) + at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) + at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) + at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) + at org.junit.runners.ParentRunner.run(ParentRunner.java:413) + at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) + at org.junit.runner.JUnitCore.run(JUnitCore.java:137) + at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) + at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) + at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) + at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) +Caused by: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'redissonService': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) + at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) + at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) + at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:544) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:520) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:673) + at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228) + at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329) + ... 27 common frames omitted +24-04-07.16:33:17.051 [HikariPool-1 housekeeper] WARN HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=7m16s984ms175µs300ns). +24-04-07.16:35:18.207 [HikariPool-1 housekeeper] WARN HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=2m1s144ms256µs700ns). +24-04-07.17:45:56.345 [redisson-netty-2-2] ERROR CommandDecoder - Unable to decode data. channel: [id: 0x2a921f8f, L:/192.168.3.8:60342 - R:120.78.91.227/120.78.91.227:6379], reply: ReplayingDecoderByteBuf(ridx=498, widx=498), command: (GET), promise: java.util.concurrent.CompletableFuture@7fc021bc[Not completed, 1 dependents], params: [big_market_strategy_award_key_100002] +com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 89 + at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:159) + at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:758) + at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:869) + at org.redisson.codec.Kryo5Codec$4.decode(Kryo5Codec.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:394) + at org.redisson.client.handler.CommandDecoder.decodeCommand(CommandDecoder.java:205) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:120) + at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529) + at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:748) +24-04-07.17:45:56.361 [redisson-netty-2-2] ERROR ErrorsLoggingHandler - Exception occured. Channel: [id: 0x2a921f8f, L:/192.168.3.8:60342 - R:120.78.91.227/120.78.91.227:6379] +io.netty.handler.codec.DecoderException: com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 89 + at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:421) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:748) +Caused by: com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 89 + at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:159) + at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:758) + at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:869) + at org.redisson.codec.Kryo5Codec$4.decode(Kryo5Codec.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:394) + at org.redisson.client.handler.CommandDecoder.decodeCommand(CommandDecoder.java:205) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:120) + at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529) + at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366) + ... 17 common frames omitted diff --git a/xfg-frame-archetype-lite-app/data/log/log_info.log b/xfg-frame-archetype-lite-app/data/log/log_info.log index 69a143385240c18b69695f7be0638835d3605fff..e4fc3dfa7d3071be58dd97e6d25b5615663fde03 100644 --- a/xfg-frame-archetype-lite-app/data/log/log_info.log +++ b/xfg-frame-archetype-lite-app/data/log/log_info.log @@ -1,33 +1,108 @@ -24-04-03.17:02:54.245 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 20060 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:02:54.248 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:02:56.539 [main ] WARN GenericWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A -24-04-03.17:02:56.552 [main ] INFO ConditionEvaluationReportLoggingListener - - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -24-04-03.17:02:56.577 [main ] ERROR SpringApplication - Application run failed -org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) - at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) - at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) - at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) - at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) - at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) - at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) +24-04-07.15:59:56.779 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 36776 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.15:59:56.781 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.15:59:58.656 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.15:59:58.661 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.15:59:58.693 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +24-04-07.16:00:01.001 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:00:02.396 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:00:02.619 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:00:06.658 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:00:06.787 [main ] INFO AwardDaoTest - Started AwardDaoTest in 10.734 seconds (JVM running for 11.881) +24-04-07.16:00:07.721 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.16:00:09.932 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.16:00:10.120 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.16:00:10.303 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.16:01:29.274 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 6712 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:01:29.276 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:01:31.397 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:01:31.403 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:01:31.453 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 20 ms. Found 0 Redis repository interfaces. +24-04-07.16:02:05.052 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:02:17.011 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:02:17.231 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:02:19.668 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:02:19.767 [main ] INFO AwardDaoTest - Started AwardDaoTest in 51.425 seconds (JVM running for 53.744) +24-04-07.16:02:24.972 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 31972 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:02:24.973 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:02:26.220 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:02:26.226 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:02:26.261 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces. +24-04-07.16:02:28.383 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:02:29.455 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:02:29.681 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:02:32.318 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:02:32.393 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.027 seconds (JVM running for 9.455) +24-04-07.16:02:32.996 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.16:02:34.242 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.16:02:34.347 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.16:02:34.351 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.16:02:54.785 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 36796 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:02:54.787 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:02:56.001 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:02:56.007 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:02:56.047 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 15 ms. Found 0 Redis repository interfaces. +24-04-07.16:03:15.358 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:03:32.346 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:03:34.115 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:04:44.788 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:04:44.879 [main ] INFO AwardDaoTest - Started AwardDaoTest in 110.936 seconds (JVM running for 112.807) +24-04-07.16:04:53.327 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 33424 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:04:53.328 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:04:54.385 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:04:54.388 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:04:54.413 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 10 ms. Found 0 Redis repository interfaces. +24-04-07.16:04:56.339 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:04:57.413 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:04:57.612 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:04:59.436 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:04:59.513 [main ] INFO AwardDaoTest - Started AwardDaoTest in 6.702 seconds (JVM running for 7.71) +24-04-07.16:05:00.085 [main ] INFO AwardDaoTest - 测试结果:101 +24-04-07.16:05:44.181 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 18764 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:05:44.183 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:05:45.368 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:05:45.371 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:05:45.414 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 23 ms. Found 0 Redis repository interfaces. +24-04-07.16:06:05.747 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:06:23.375 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:06:25.268 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:08:19.907 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:08:20.026 [main ] INFO AwardDaoTest - Started AwardDaoTest in 156.631 seconds (JVM running for 158.873) +24-04-07.16:08:30.019 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 31164 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:08:30.020 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:08:31.192 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:08:31.196 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:08:31.240 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces. +24-04-07.16:08:51.977 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:09:09.822 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:09:11.446 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:09:22.277 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:09:22.397 [main ] INFO AwardDaoTest - Started AwardDaoTest in 53.09 seconds (JVM running for 54.326) +24-04-07.16:10:41.407 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 36412 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:10:41.409 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:10:42.510 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:10:42.514 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:10:42.546 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +24-04-07.16:11:04.991 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:11:05.356 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 12920 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:11:05.357 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:11:06.495 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:11:06.501 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:11:06.532 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +24-04-07.16:11:16.791 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:11:17.211 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:11:18.424 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:11:20.403 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:11:20.526 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:11:20.700 [main ] INFO AwardDaoTest - Started AwardDaoTest in 39.983 seconds (JVM running for 41.517) +24-04-07.16:11:20.756 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:11:22.663 [main ] ERROR TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@40317ba2] to prepare test instance [cn.bugstack.test.infrastructure.AwardDaoTest@58d79479] +org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cn.bugstack.test.infrastructure.AwardDaoTest': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'redissonService': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:332) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431) + at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBeanProperties(AbstractAutowireCapableBeanFactory.java:417) + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:119) + at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) + at org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener.prepareTestInstance(SpringBootDependencyInjectionTestExecutionListener.java:43) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) @@ -50,845 +125,687 @@ org.springframework.beans.factory.BeanCreationException: Error creating bean wit at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) - ... 43 common frames omitted -Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:613) - at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:491) - at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:633) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:179) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be.CGLIB$sqlSessionFactory$2() - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be$$FastClassBySpringCGLIB$$f22119eb.invoke() - at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) - at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be.sqlSessionFactory() - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) - ... 44 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:95) - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:611) - ... 57 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:263) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:254) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:246) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:119) - ... 59 common frames omitted -Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) - at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) - ... 63 common frames omitted -Caused by: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:196) - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) - at org.apache.ibatis.io.Resources.classForName(Resources.java:261) - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) - ... 65 common frames omitted -24-04-03.17:02:56.581 [main ] ERROR TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@3eb25e1a] to prepare test instance [cn.bugstack.test.infrastructure.AwardDaoTest@4af70944] -java.lang.IllegalStateException: Failed to load ApplicationContext - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:98) - at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) - at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) - at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) - at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) - at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) - at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) - at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) - at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) - at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) - at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) - ... 25 common frames omitted -Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) - ... 43 common frames omitted -Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:613) - at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:491) - at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:633) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:179) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be.CGLIB$sqlSessionFactory$2() - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be$$FastClassBySpringCGLIB$$f22119eb.invoke() - at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) - at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be.sqlSessionFactory() - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) - ... 44 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:95) - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:611) - ... 57 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:263) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:254) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:246) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:119) - ... 59 common frames omitted -Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) - at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) - ... 63 common frames omitted -Caused by: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:196) - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) - at org.apache.ibatis.io.Resources.classForName(Resources.java:261) - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) - ... 65 common frames omitted -24-04-03.17:04:46.153 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 12024 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:04:46.155 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:04:48.381 [main ] WARN GenericWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A -24-04-03.17:04:48.390 [main ] INFO ConditionEvaluationReportLoggingListener - - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -24-04-03.17:04:48.413 [main ] ERROR SpringApplication - Application run failed -org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) +Caused by: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'redissonService': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!) + at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) - at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) - at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) - at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) - at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) - at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) - at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) - at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) - at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) - at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) - at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) - ... 43 common frames omitted -Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:613) - at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:491) - at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:633) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:179) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be.CGLIB$sqlSessionFactory$0() - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be$$FastClassBySpringCGLIB$$f22119eb.invoke() - at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) - at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be.sqlSessionFactory() - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) - ... 44 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:95) - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:611) - ... 57 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:263) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:254) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:246) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:119) - ... 59 common frames omitted -Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) - at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) - ... 63 common frames omitted -Caused by: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:196) - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) - at org.apache.ibatis.io.Resources.classForName(Resources.java:261) - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) - ... 65 common frames omitted -24-04-03.17:04:48.415 [main ] ERROR TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@3eb25e1a] to prepare test instance [cn.bugstack.test.infrastructure.AwardDaoTest@4af70944] -java.lang.IllegalStateException: Failed to load ApplicationContext - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:98) - at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) - at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) - at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) - at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) - at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) - at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) - at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) - at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) - at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) - at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) - ... 25 common frames omitted -Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) - ... 43 common frames omitted -Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:613) - at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:491) - at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:633) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:179) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be.CGLIB$sqlSessionFactory$0() - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be$$FastClassBySpringCGLIB$$f22119eb.invoke() - at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) - at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$ffc0d1be.sqlSessionFactory() - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) - ... 44 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:95) - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:611) - ... 57 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:263) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:254) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:246) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:119) - ... 59 common frames omitted -Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) - at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) - ... 63 common frames omitted -Caused by: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:196) - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) - at org.apache.ibatis.io.Resources.classForName(Resources.java:261) - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) - ... 65 common frames omitted -24-04-03.17:06:03.834 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 12508 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:06:03.835 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:06:09.219 [main ] WARN GenericWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A -24-04-03.17:06:09.246 [main ] INFO ConditionEvaluationReportLoggingListener - - -Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. -24-04-03.17:06:09.294 [main ] ERROR SpringApplication - Application run failed -org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) - at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) - at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) - at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) - at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) - at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) - at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) - at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at org.junit.runner.JUnitCore.run(JUnitCore.java:115) - at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) - at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) - at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) - at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) - at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) - at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) - at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) - at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71) - at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) - at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) - at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) - ... 56 common frames omitted -Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:613) - at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:491) - at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:633) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:179) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$e3c390f2.CGLIB$sqlSessionFactory$1() - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$e3c390f2$$FastClassBySpringCGLIB$$78d62f.invoke() - at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) - at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$e3c390f2.sqlSessionFactory() - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) - ... 57 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:95) - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:611) - ... 70 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:263) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:254) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:246) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:119) - ... 72 common frames omitted -Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) - at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) - ... 76 common frames omitted -Caused by: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:196) - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) - at org.apache.ibatis.io.Resources.classForName(Resources.java:261) - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) - ... 78 common frames omitted -24-04-03.17:06:09.298 [main ] ERROR TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener@50b5ac82] to prepare test instance [cn.bugstack.test.infrastructure.AwardDaoTest@33063f5b] -java.lang.IllegalStateException: Failed to load ApplicationContext - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:98) - at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) - at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) - at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) - at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at org.junit.runner.JUnitCore.run(JUnitCore.java:115) - at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) - at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) - at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) - at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) - at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114) - at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86) - at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86) - at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53) - at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71) - at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) - at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) - at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658) - at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) - at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) - at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) - at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) - at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) - at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) - at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) - at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:920) - at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) - at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731) - at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408) - at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) - at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:136) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:141) - at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:90) - ... 38 common frames omitted -Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'sqlSessionFactory' threw exception; nested exception is org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) - at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) - ... 56 common frames omitted -Caused by: org.springframework.core.NestedIOException: Failed to parse mapping resource: 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:613) - at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:491) - at org.mybatis.spring.SqlSessionFactoryBean.getObject(SqlSessionFactoryBean.java:633) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration.sqlSessionFactory(MybatisAutoConfiguration.java:179) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$e3c390f2.CGLIB$sqlSessionFactory$1() - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$e3c390f2$$FastClassBySpringCGLIB$$78d62f.invoke() - at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:244) - at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) - at org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$e3c390f2.sqlSessionFactory() - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) - ... 57 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. The XML location is 'file [E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app\target\classes\mybatis\mapper\frame_case_mapper.xml]'. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:123) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:95) - at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:611) - ... 70 common frames omitted -Caused by: org.apache.ibatis.builder.BuilderException: Error resolving class. Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:118) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:263) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:254) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:246) - at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:119) - ... 72 common frames omitted -Caused by: org.apache.ibatis.type.TypeException: Could not resolve type alias 'cn.bugstack.infrastructure.persistent.po.A'. Cause: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:120) - at org.apache.ibatis.builder.BaseBuilder.resolveAlias(BaseBuilder.java:149) - at org.apache.ibatis.builder.BaseBuilder.resolveClass(BaseBuilder.java:116) - ... 76 common frames omitted -Caused by: java.lang.ClassNotFoundException: Cannot find class: cn.bugstack.infrastructure.persistent.po.A - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:196) - at org.apache.ibatis.io.ClassLoaderWrapper.classForName(ClassLoaderWrapper.java:89) - at org.apache.ibatis.io.Resources.classForName(Resources.java:261) - at org.apache.ibatis.type.TypeAliasRegistry.resolveAlias(TypeAliasRegistry.java:116) - ... 78 common frames omitted -24-04-03.17:06:48.402 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 9772 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:06:48.404 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:06:50.953 [main ] INFO AwardDaoTest - Started AwardDaoTest in 3.128 seconds (JVM running for 4.479) -24-04-03.17:06:51.226 [main ] INFO HikariDataSource - HikariPool-1 - Starting... -24-04-03.17:06:58.191 [main ] ERROR HikariPool - HikariPool-1 - Exception during pool initialization. -java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up. - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110) - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89) - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63) - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73) - at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:906) - at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:831) - at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:456) - at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246) - at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) - at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) - at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364) - at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206) - at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476) - at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) - at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:115) - at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) - at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:159) - at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:117) - at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) - at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80) - at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:67) - at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:337) - at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:86) - at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) - at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325) - at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) - at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) - at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:89) - at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) - at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) - at com.sun.proxy.$Proxy79.selectList(Unknown Source) - at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224) - at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147) - at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80) - at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:152) - at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:85) - at com.sun.proxy.$Proxy82.queryAwardList(Unknown Source) - at cn.bugstack.test.infrastructure.AwardDaoTest.test_queryAwardList(AwardDaoTest.java:30) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74) - at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84) - at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) - at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) - at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) - at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) - at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) - at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -Caused by: com.mysql.cj.exceptions.CJException: Unknown database 'root' - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) - at java.lang.reflect.Constructor.newInstance(Constructor.java:423) - at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) - at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) - at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) - at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:129) - at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:792) - at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:717) - at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:685) - at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:134) - at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:469) - at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:174) - at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1348) - at com.mysql.cj.NativeSession.connect(NativeSession.java:157) - at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:850) - ... 69 common frames omitted -24-04-03.17:16:27.240 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 10348 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:16:27.241 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:16:29.705 [main ] INFO AwardDaoTest - Started AwardDaoTest in 3.011 seconds (JVM running for 3.95) -24-04-03.17:16:29.984 [main ] INFO HikariDataSource - HikariPool-1 - Starting... -24-04-03.17:16:31.222 [main ] ERROR HikariPool - HikariPool-1 - Exception during pool initialization. -java.sql.SQLSyntaxErrorException: Unknown database 'root' - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) - at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) - at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:836) - at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:456) - at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246) - at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) - at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) - at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:364) - at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:206) - at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:476) - at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561) - at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:115) - at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) - at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:159) - at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:117) - at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80) - at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80) - at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:67) - at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:337) - at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:86) - at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:62) - at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325) - at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) - at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) - at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:89) - at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) - at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) - at com.sun.proxy.$Proxy79.selectList(Unknown Source) - at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224) - at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147) - at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80) - at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:152) - at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:85) - at com.sun.proxy.$Proxy82.queryAwardList(Unknown Source) - at cn.bugstack.test.infrastructure.AwardDaoTest.test_queryAwardList(AwardDaoTest.java:30) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74) - at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84) - at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) - at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) - at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) - at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) - at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) - at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -24-04-03.17:18:56.714 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 10520 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:18:56.715 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:18:59.371 [main ] INFO AwardDaoTest - Started AwardDaoTest in 3.184 seconds (JVM running for 4.137) -24-04-03.17:18:59.680 [main ] INFO HikariDataSource - HikariPool-1 - Starting... -24-04-03.17:19:00.115 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. -24-04-03.17:23:54.159 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... -24-04-03.17:23:54.174 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. -24-04-03.17:25:00.789 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 16144 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:25:00.790 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:25:03.552 [main ] INFO AwardDaoTest - Started AwardDaoTest in 3.331 seconds (JVM running for 4.253) -24-04-03.17:25:03.908 [main ] INFO HikariDataSource - HikariPool-1 - Starting... -24-04-03.17:25:06.238 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. -24-04-03.17:28:04.677 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... -24-04-03.17:28:04.716 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. -24-04-03.17:28:10.521 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 2472 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:28:10.523 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:28:14.577 [main ] INFO AwardDaoTest - Started AwardDaoTest in 4.691 seconds (JVM running for 6.493) -24-04-03.17:29:58.298 [main ] INFO HikariDataSource - HikariPool-1 - Starting... -24-04-03.17:30:45.425 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. -24-04-03.17:43:39.685 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... -24-04-03.17:43:39.704 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. -24-04-03.17:43:39.717 [main ] WARN ProxyConnection - HikariPool-1 - Connection com.mysql.cj.jdbc.ConnectionImpl@9f2376f marked as broken because of SQLSTATE(08S01), ErrorCode(0) -com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure - -The last packet successfully received from the server was 774,324 milliseconds ago. The last packet sent successfully to the server was 774,462 milliseconds ago. - at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) - at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953) - at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:370) - at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) - at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) - at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:64) - at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:79) - at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:63) - at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:325) - at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:156) - at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:109) - at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:89) - at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:147) - at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:140) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:427) - at com.sun.proxy.$Proxy79.selectList(Unknown Source) - at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:224) - at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:147) - at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:80) - at org.apache.ibatis.binding.MapperProxy$PlainMethodInvoker.invoke(MapperProxy.java:152) - at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:85) - at com.sun.proxy.$Proxy82.queryAwardList(Unknown Source) - at cn.bugstack.test.infrastructure.AwardDaoTest.test_queryAwardList(AwardDaoTest.java:30) - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74) - at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84) - at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) - at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) - at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) - at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) - at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) - at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) - at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) - at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) - at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) - at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) - at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) - at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) - at org.junit.runners.ParentRunner.run(ParentRunner.java:413) - at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) - at org.junit.runner.JUnitCore.run(JUnitCore.java:137) - at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) - at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) - at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235) - at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54) -Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure - -The last packet successfully received from the server was 774,324 milliseconds ago. The last packet sent successfully to the server was 774,462 milliseconds ago. - at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) - at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) - at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) - at java.lang.reflect.Constructor.newInstance(Constructor.java:423) - at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) - at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) - at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) - at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167) - at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:544) - at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:708) - at com.mysql.cj.protocol.a.NativeProtocol.sendCommand(NativeProtocol.java:647) - at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:946) - at com.mysql.cj.NativeSession.execSQL(NativeSession.java:1075) - at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:930) - ... 56 common frames omitted -Caused by: java.net.SocketException: Socket closed - at java.net.SocketInputStream.socketRead0(Native Method) - at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) - at java.net.SocketInputStream.read(SocketInputStream.java:171) - at java.net.SocketInputStream.read(SocketInputStream.java:141) - at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) - at sun.security.ssl.InputRecord.read(InputRecord.java:503) - at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) - at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933) - at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) - at java.io.FilterInputStream.read(FilterInputStream.java:133) - at com.mysql.cj.protocol.FullReadInputStream.readFully(FullReadInputStream.java:64) - at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:63) - at com.mysql.cj.protocol.a.SimplePacketReader.readHeader(SimplePacketReader.java:45) - at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:52) - at com.mysql.cj.protocol.a.TimeTrackingPacketReader.readHeader(TimeTrackingPacketReader.java:41) - at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:54) - at com.mysql.cj.protocol.a.MultiPacketReader.readHeader(MultiPacketReader.java:44) - at com.mysql.cj.protocol.a.NativeProtocol.readMessage(NativeProtocol.java:538) - ... 61 common frames omitted -24-04-03.17:43:44.023 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 18656 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) -24-04-03.17:43:44.025 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" -24-04-03.17:44:17.562 [main ] INFO AwardDaoTest - Started AwardDaoTest in 34.332 seconds (JVM running for 35.568) -24-04-03.17:44:30.045 [main ] INFO HikariDataSource - HikariPool-1 - Starting... -24-04-03.17:45:26.517 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. -24-04-03.17:55:09.654 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... -24-04-03.17:55:09.677 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. + at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391) + at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:544) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:520) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:673) + at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:228) + at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119) + at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessProperties(CommonAnnotationBeanPostProcessor.java:329) + ... 27 common frames omitted +24-04-07.16:11:28.523 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 10940 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:11:28.525 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:11:29.751 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:11:29.754 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:11:29.782 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. +24-04-07.16:11:31.703 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:11:32.708 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:11:33.646 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:11:35.628 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:11:35.711 [main ] INFO AwardDaoTest - Started AwardDaoTest in 7.676 seconds (JVM running for 8.769) +24-04-07.16:11:36.165 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.16:11:37.410 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.16:11:37.635 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.16:11:37.657 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.16:13:47.331 [main ] INFO StrategyTest - Starting StrategyTest using Java 1.8.0_241 on Hudingrong with PID 10292 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:13:47.332 [main ] INFO StrategyTest - The following 1 profile is active: "dev" +24-04-07.16:13:48.636 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:13:48.641 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:13:48.675 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +24-04-07.16:14:07.806 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:14:24.283 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:14:25.862 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:15:54.156 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 31136 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:15:54.158 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:15:55.379 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:15:55.382 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:15:55.407 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +24-04-07.16:15:57.495 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:15:58.514 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:15:58.756 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:16:00.794 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:16:00.868 [main ] INFO AwardDaoTest - Started AwardDaoTest in 7.439 seconds (JVM running for 8.853) +24-04-07.16:16:01.327 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.16:16:02.541 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.16:16:02.777 [main ] INFO AwardDaoTest - 测试结果:[{"awardConfig":"1,100","awardDesc":"用户积分【优先透彻规则范围,如果没有则走配置】","awardId":101,"awardKey":"user_credit_random"},{"awardConfig":"5","awardDesc":"OpenAI 增加使用次数","awardId":102,"awardKey":"openai_use_count"},{"awardConfig":"10","awardDesc":"OpenAI 增加使用次数","awardId":103,"awardKey":"openai_use_count"},{"awardConfig":"20","awardDesc":"OpenAI 增加使用次数","awardId":104,"awardKey":"openai_use_count"},{"awardConfig":"gpt-4","awardDesc":"OpenAI 增加模型","awardId":105,"awardKey":"openai_model"},{"awardConfig":"dall-e-2","awardDesc":"OpenAI 增加模型","awardId":106,"awardKey":"openai_model"},{"awardConfig":"dall-e-3","awardDesc":"OpenAI 增加模型","awardId":107,"awardKey":"openai_model"},{"awardConfig":"100","awardDesc":"OpenAI 增加使用次数","awardId":108,"awardKey":"openai_use_count"},{"awardConfig":"gpt-4,dall-e-2,dall-e-3","awardDesc":"OpenAI 增加模型","awardId":109,"awardKey":"openai_model"}] +24-04-07.16:16:02.839 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.16:16:03.029 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.16:17:17.880 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:17:17.979 [main ] INFO StrategyTest - Started StrategyTest in 211.435 seconds (JVM running for 213.431) +24-04-07.16:17:23.006 [main ] INFO StrategyTest - Starting StrategyTest using Java 1.8.0_241 on Hudingrong with PID 2496 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:17:23.008 [main ] INFO StrategyTest - The following 1 profile is active: "dev" +24-04-07.16:17:24.303 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:17:24.307 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:17:24.331 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 10 ms. Found 0 Redis repository interfaces. +24-04-07.16:17:26.768 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:17:27.799 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:17:28.013 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:17:29.988 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:17:30.065 [main ] INFO StrategyTest - Started StrategyTest in 7.667 seconds (JVM running for 8.85) +24-04-07.16:17:30.529 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.16:17:31.743 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.16:17:31.940 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.16:17:32.045 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.16:17:56.543 [main ] INFO StrategyTest - Starting StrategyTest using Java 1.8.0_241 on Hudingrong with PID 35204 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:17:56.545 [main ] INFO StrategyTest - The following 1 profile is active: "dev" +24-04-07.16:17:58.623 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:17:58.626 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:17:58.652 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 10 ms. Found 0 Redis repository interfaces. +24-04-07.16:18:17.981 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:18:35.639 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:18:37.190 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:23:41.700 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:23:58.587 [main ] INFO StrategyTest - Started StrategyTest in 363.145 seconds (JVM running for 365.081) +24-04-07.16:24:52.883 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.16:25:59.961 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.16:33:17.051 [HikariPool-1 housekeeper] WARN HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=7m16s984ms175µs300ns). +24-04-07.16:35:18.207 [HikariPool-1 housekeeper] WARN HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=2m1s144ms256µs700ns). +24-04-07.16:35:22.304 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.16:35:24.087 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.16:35:47.762 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 16044 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:35:47.764 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:35:49.069 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:35:49.073 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:35:49.097 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +24-04-07.16:35:51.836 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:35:52.913 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:35:53.154 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:35:55.278 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:35:55.359 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.212 seconds (JVM running for 9.271) +24-04-07.16:35:55.825 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.16:35:57.296 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.16:35:57.547 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.16:35:57.658 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.16:38:17.090 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 33912 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:38:17.091 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:38:18.476 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:38:18.480 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:38:18.510 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +24-04-07.16:38:21.007 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:38:22.027 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:38:22.279 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:38:24.331 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:38:24.398 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.059 seconds (JVM running for 9.042) +24-04-07.16:38:24.855 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.16:38:26.305 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.16:38:27.156 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.16:38:27.267 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.16:39:09.678 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 34648 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:39:09.680 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:39:11.636 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:39:11.704 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:39:11.752 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 18 ms. Found 0 Redis repository interfaces. +24-04-07.16:39:14.204 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:39:15.326 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:39:15.579 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:39:17.757 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:39:17.843 [main ] INFO AwardDaoTest - Started AwardDaoTest in 9.12 seconds (JVM running for 11.014) +24-04-07.16:39:18.766 [main ] INFO AwardDaoTest - 测试结果:101 - 奖品ID值 +24-04-07.16:39:58.479 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 33672 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:39:58.481 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:39:59.588 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:39:59.593 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:39:59.630 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces. +24-04-07.16:40:01.700 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:40:02.748 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:40:02.978 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:40:06.161 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:40:06.301 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.576 seconds (JVM running for 10.052) +24-04-07.16:40:07.397 [main ] INFO AwardDaoTest - 测试结果:0 101 - 奖品ID值 +24-04-07.16:40:07.420 [main ] INFO AwardDaoTest - 测试结果:1 102 - 奖品ID值 +24-04-07.16:40:07.440 [main ] INFO AwardDaoTest - 测试结果:2 101 - 奖品ID值 +24-04-07.16:40:07.462 [main ] INFO AwardDaoTest - 测试结果:3 102 - 奖品ID值 +24-04-07.16:40:07.481 [main ] INFO AwardDaoTest - 测试结果:4 101 - 奖品ID值 +24-04-07.16:40:07.507 [main ] INFO AwardDaoTest - 测试结果:5 102 - 奖品ID值 +24-04-07.16:40:07.547 [main ] INFO AwardDaoTest - 测试结果:6 101 - 奖品ID值 +24-04-07.16:40:07.644 [main ] INFO AwardDaoTest - 测试结果:7 101 - 奖品ID值 +24-04-07.16:40:07.682 [main ] INFO AwardDaoTest - 测试结果:8 101 - 奖品ID值 +24-04-07.16:40:07.704 [main ] INFO AwardDaoTest - 测试结果:9 101 - 奖品ID值 +24-04-07.16:40:07.812 [main ] INFO AwardDaoTest - 测试结果:10 101 - 奖品ID值 +24-04-07.16:40:07.834 [main ] INFO AwardDaoTest - 测试结果:11 101 - 奖品ID值 +24-04-07.16:40:07.854 [main ] INFO AwardDaoTest - 测试结果:12 101 - 奖品ID值 +24-04-07.16:40:07.876 [main ] INFO AwardDaoTest - 测试结果:13 102 - 奖品ID值 +24-04-07.16:40:07.895 [main ] INFO AwardDaoTest - 测试结果:14 101 - 奖品ID值 +24-04-07.16:40:08.038 [main ] INFO AwardDaoTest - 测试结果:15 101 - 奖品ID值 +24-04-07.16:40:08.067 [main ] INFO AwardDaoTest - 测试结果:16 101 - 奖品ID值 +24-04-07.16:40:08.088 [main ] INFO AwardDaoTest - 测试结果:17 101 - 奖品ID值 +24-04-07.16:40:08.110 [main ] INFO AwardDaoTest - 测试结果:18 101 - 奖品ID值 +24-04-07.16:40:08.243 [main ] INFO AwardDaoTest - 测试结果:19 101 - 奖品ID值 +24-04-07.16:40:08.266 [main ] INFO AwardDaoTest - 测试结果:20 101 - 奖品ID值 +24-04-07.16:40:08.286 [main ] INFO AwardDaoTest - 测试结果:21 101 - 奖品ID值 +24-04-07.16:40:08.305 [main ] INFO AwardDaoTest - 测试结果:22 101 - 奖品ID值 +24-04-07.16:40:08.328 [main ] INFO AwardDaoTest - 测试结果:23 101 - 奖品ID值 +24-04-07.16:40:08.458 [main ] INFO AwardDaoTest - 测试结果:24 101 - 奖品ID值 +24-04-07.16:40:08.480 [main ] INFO AwardDaoTest - 测试结果:25 101 - 奖品ID值 +24-04-07.16:40:08.501 [main ] INFO AwardDaoTest - 测试结果:26 101 - 奖品ID值 +24-04-07.16:40:08.525 [main ] INFO AwardDaoTest - 测试结果:27 101 - 奖品ID值 +24-04-07.16:40:08.661 [main ] INFO AwardDaoTest - 测试结果:28 102 - 奖品ID值 +24-04-07.16:40:08.679 [main ] INFO AwardDaoTest - 测试结果:29 101 - 奖品ID值 +24-04-07.16:40:08.700 [main ] INFO AwardDaoTest - 测试结果:30 101 - 奖品ID值 +24-04-07.16:40:08.720 [main ] INFO AwardDaoTest - 测试结果:31 102 - 奖品ID值 +24-04-07.16:40:08.858 [main ] INFO AwardDaoTest - 测试结果:32 102 - 奖品ID值 +24-04-07.16:40:08.886 [main ] INFO AwardDaoTest - 测试结果:33 101 - 奖品ID值 +24-04-07.16:40:08.907 [main ] INFO AwardDaoTest - 测试结果:34 102 - 奖品ID值 +24-04-07.16:40:08.934 [main ] INFO AwardDaoTest - 测试结果:35 106 - 奖品ID值 +24-04-07.16:40:09.081 [main ] INFO AwardDaoTest - 测试结果:36 101 - 奖品ID值 +24-04-07.16:40:09.110 [main ] INFO AwardDaoTest - 测试结果:37 101 - 奖品ID值 +24-04-07.16:40:09.130 [main ] INFO AwardDaoTest - 测试结果:38 102 - 奖品ID值 +24-04-07.16:40:09.271 [main ] INFO AwardDaoTest - 测试结果:39 106 - 奖品ID值 +24-04-07.16:40:09.292 [main ] INFO AwardDaoTest - 测试结果:40 101 - 奖品ID值 +24-04-07.16:40:09.316 [main ] INFO AwardDaoTest - 测试结果:41 101 - 奖品ID值 +24-04-07.16:40:09.339 [main ] INFO AwardDaoTest - 测试结果:42 101 - 奖品ID值 +24-04-07.16:40:09.359 [main ] INFO AwardDaoTest - 测试结果:43 101 - 奖品ID值 +24-04-07.16:40:09.378 [main ] INFO AwardDaoTest - 测试结果:44 101 - 奖品ID值 +24-04-07.16:40:09.398 [main ] INFO AwardDaoTest - 测试结果:45 101 - 奖品ID值 +24-04-07.16:40:09.420 [main ] INFO AwardDaoTest - 测试结果:46 101 - 奖品ID值 +24-04-07.16:40:09.438 [main ] INFO AwardDaoTest - 测试结果:47 101 - 奖品ID值 +24-04-07.16:40:09.455 [main ] INFO AwardDaoTest - 测试结果:48 101 - 奖品ID值 +24-04-07.16:40:09.473 [main ] INFO AwardDaoTest - 测试结果:49 106 - 奖品ID值 +24-04-07.16:40:09.492 [main ] INFO AwardDaoTest - 测试结果:50 101 - 奖品ID值 +24-04-07.16:40:09.515 [main ] INFO AwardDaoTest - 测试结果:51 102 - 奖品ID值 +24-04-07.16:40:09.533 [main ] INFO AwardDaoTest - 测试结果:52 101 - 奖品ID值 +24-04-07.16:40:09.553 [main ] INFO AwardDaoTest - 测试结果:53 101 - 奖品ID值 +24-04-07.16:40:09.573 [main ] INFO AwardDaoTest - 测试结果:54 102 - 奖品ID值 +24-04-07.16:40:09.592 [main ] INFO AwardDaoTest - 测试结果:55 101 - 奖品ID值 +24-04-07.16:40:09.612 [main ] INFO AwardDaoTest - 测试结果:56 106 - 奖品ID值 +24-04-07.16:40:09.629 [main ] INFO AwardDaoTest - 测试结果:57 101 - 奖品ID值 +24-04-07.16:40:09.648 [main ] INFO AwardDaoTest - 测试结果:58 101 - 奖品ID值 +24-04-07.16:40:09.666 [main ] INFO AwardDaoTest - 测试结果:59 101 - 奖品ID值 +24-04-07.16:40:09.686 [main ] INFO AwardDaoTest - 测试结果:60 101 - 奖品ID值 +24-04-07.16:40:09.711 [main ] INFO AwardDaoTest - 测试结果:61 101 - 奖品ID值 +24-04-07.16:40:09.728 [main ] INFO AwardDaoTest - 测试结果:62 101 - 奖品ID值 +24-04-07.16:40:09.746 [main ] INFO AwardDaoTest - 测试结果:63 101 - 奖品ID值 +24-04-07.16:40:09.763 [main ] INFO AwardDaoTest - 测试结果:64 101 - 奖品ID值 +24-04-07.16:40:09.789 [main ] INFO AwardDaoTest - 测试结果:65 101 - 奖品ID值 +24-04-07.16:40:09.815 [main ] INFO AwardDaoTest - 测试结果:66 102 - 奖品ID值 +24-04-07.16:40:09.840 [main ] INFO AwardDaoTest - 测试结果:67 102 - 奖品ID值 +24-04-07.16:40:09.865 [main ] INFO AwardDaoTest - 测试结果:68 101 - 奖品ID值 +24-04-07.16:40:09.884 [main ] INFO AwardDaoTest - 测试结果:69 101 - 奖品ID值 +24-04-07.16:40:09.904 [main ] INFO AwardDaoTest - 测试结果:70 101 - 奖品ID值 +24-04-07.16:40:09.924 [main ] INFO AwardDaoTest - 测试结果:71 101 - 奖品ID值 +24-04-07.16:40:09.941 [main ] INFO AwardDaoTest - 测试结果:72 101 - 奖品ID值 +24-04-07.16:40:09.957 [main ] INFO AwardDaoTest - 测试结果:73 101 - 奖品ID值 +24-04-07.16:40:09.975 [main ] INFO AwardDaoTest - 测试结果:74 101 - 奖品ID值 +24-04-07.16:40:09.994 [main ] INFO AwardDaoTest - 测试结果:75 101 - 奖品ID值 +24-04-07.16:40:10.013 [main ] INFO AwardDaoTest - 测试结果:76 101 - 奖品ID值 +24-04-07.16:40:10.028 [main ] INFO AwardDaoTest - 测试结果:77 101 - 奖品ID值 +24-04-07.16:40:10.043 [main ] INFO AwardDaoTest - 测试结果:78 101 - 奖品ID值 +24-04-07.16:40:10.061 [main ] INFO AwardDaoTest - 测试结果:79 101 - 奖品ID值 +24-04-07.16:40:10.078 [main ] INFO AwardDaoTest - 测试结果:80 101 - 奖品ID值 +24-04-07.16:40:10.098 [main ] INFO AwardDaoTest - 测试结果:81 102 - 奖品ID值 +24-04-07.16:40:10.114 [main ] INFO AwardDaoTest - 测试结果:82 101 - 奖品ID值 +24-04-07.16:40:10.141 [main ] INFO AwardDaoTest - 测试结果:83 101 - 奖品ID值 +24-04-07.16:40:10.159 [main ] INFO AwardDaoTest - 测试结果:84 102 - 奖品ID值 +24-04-07.16:40:10.177 [main ] INFO AwardDaoTest - 测试结果:85 106 - 奖品ID值 +24-04-07.16:40:10.195 [main ] INFO AwardDaoTest - 测试结果:86 102 - 奖品ID值 +24-04-07.16:40:10.210 [main ] INFO AwardDaoTest - 测试结果:87 102 - 奖品ID值 +24-04-07.16:40:10.226 [main ] INFO AwardDaoTest - 测试结果:88 101 - 奖品ID值 +24-04-07.16:40:10.258 [main ] INFO AwardDaoTest - 测试结果:89 101 - 奖品ID值 +24-04-07.16:40:10.278 [main ] INFO AwardDaoTest - 测试结果:90 101 - 奖品ID值 +24-04-07.16:40:10.301 [main ] INFO AwardDaoTest - 测试结果:91 101 - 奖品ID值 +24-04-07.16:40:10.317 [main ] INFO AwardDaoTest - 测试结果:92 101 - 奖品ID值 +24-04-07.16:40:10.333 [main ] INFO AwardDaoTest - 测试结果:93 101 - 奖品ID值 +24-04-07.16:40:10.347 [main ] INFO AwardDaoTest - 测试结果:94 101 - 奖品ID值 +24-04-07.16:40:10.367 [main ] INFO AwardDaoTest - 测试结果:95 101 - 奖品ID值 +24-04-07.16:40:10.386 [main ] INFO AwardDaoTest - 测试结果:96 102 - 奖品ID值 +24-04-07.16:40:10.403 [main ] INFO AwardDaoTest - 测试结果:97 101 - 奖品ID值 +24-04-07.16:40:10.419 [main ] INFO AwardDaoTest - 测试结果:98 101 - 奖品ID值 +24-04-07.16:40:10.436 [main ] INFO AwardDaoTest - 测试结果:99 101 - 奖品ID值 +24-04-07.16:41:55.634 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 35972 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:41:55.639 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:41:56.948 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:41:56.951 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:41:56.976 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +24-04-07.16:41:58.952 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:42:00.196 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:42:00.415 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:42:02.961 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:42:03.037 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.027 seconds (JVM running for 9.789) +24-04-07.16:42:09.221 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 23464 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:42:09.223 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:42:10.376 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:42:10.379 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:42:10.404 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +24-04-07.16:42:12.308 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:42:13.379 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:42:13.630 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:42:15.692 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:42:15.773 [main ] INFO AwardDaoTest - Started AwardDaoTest in 7.135 seconds (JVM running for 8.162) +24-04-07.16:42:18.531 [main ] INFO AwardDaoTest - 测试结果:45 106 - 奖品ID值 +24-04-07.16:42:19.851 [main ] INFO AwardDaoTest - 测试结果:112 106 - 奖品ID值 +24-04-07.16:42:19.952 [main ] INFO AwardDaoTest - 测试结果:118 106 - 奖品ID值 +24-04-07.16:42:20.339 [main ] INFO AwardDaoTest - 测试结果:141 106 - 奖品ID值 +24-04-07.16:42:21.408 [main ] INFO AwardDaoTest - 测试结果:206 106 - 奖品ID值 +24-04-07.16:42:21.660 [main ] INFO AwardDaoTest - 测试结果:222 106 - 奖品ID值 +24-04-07.16:42:22.659 [main ] INFO AwardDaoTest - 测试结果:276 106 - 奖品ID值 +24-04-07.16:42:22.769 [main ] INFO AwardDaoTest - 测试结果:282 106 - 奖品ID值 +24-04-07.16:42:23.761 [main ] INFO AwardDaoTest - 测试结果:340 106 - 奖品ID值 +24-04-07.16:42:23.872 [main ] INFO AwardDaoTest - 测试结果:346 106 - 奖品ID值 +24-04-07.16:42:24.503 [main ] INFO AwardDaoTest - 测试结果:382 106 - 奖品ID值 +24-04-07.16:42:24.546 [main ] INFO AwardDaoTest - 测试结果:385 106 - 奖品ID值 +24-04-07.16:42:25.089 [main ] INFO AwardDaoTest - 测试结果:416 106 - 奖品ID值 +24-04-07.16:42:26.106 [main ] INFO AwardDaoTest - 测试结果:477 106 - 奖品ID值 +24-04-07.16:42:27.958 [main ] INFO AwardDaoTest - 测试结果:525 106 - 奖品ID值 +24-04-07.16:42:30.528 [main ] INFO AwardDaoTest - 测试结果:669 106 - 奖品ID值 +24-04-07.16:42:32.582 [main ] INFO AwardDaoTest - 测试结果:791 106 - 奖品ID值 +24-04-07.16:42:32.913 [main ] INFO AwardDaoTest - 测试结果:812 106 - 奖品ID值 +24-04-07.16:42:32.992 [main ] INFO AwardDaoTest - 测试结果:817 106 - 奖品ID值 +24-04-07.16:42:33.575 [main ] INFO AwardDaoTest - 测试结果:852 106 - 奖品ID值 +24-04-07.16:42:33.892 [main ] INFO AwardDaoTest - 测试结果:872 106 - 奖品ID值 +24-04-07.16:42:34.703 [main ] INFO AwardDaoTest - 测试结果:924 106 - 奖品ID值 +24-04-07.16:42:34.768 [main ] INFO AwardDaoTest - 测试结果:928 106 - 奖品ID值 +24-04-07.16:42:35.724 [main ] INFO AwardDaoTest - 测试结果:986 106 - 奖品ID值 +24-04-07.16:42:36.545 [main ] INFO AwardDaoTest - 测试结果:1027 106 - 奖品ID值 +24-04-07.16:42:37.629 [main ] INFO AwardDaoTest - 测试结果:1046 106 - 奖品ID值 +24-04-07.16:42:38.186 [main ] INFO AwardDaoTest - 测试结果:1065 106 - 奖品ID值 +24-04-07.16:42:40.355 [main ] INFO AwardDaoTest - 测试结果:1195 106 - 奖品ID值 +24-04-07.16:42:40.405 [main ] INFO AwardDaoTest - 测试结果:1198 106 - 奖品ID值 +24-04-07.16:42:41.080 [main ] INFO AwardDaoTest - 测试结果:1235 106 - 奖品ID值 +24-04-07.16:42:41.208 [main ] INFO AwardDaoTest - 测试结果:1242 106 - 奖品ID值 +24-04-07.16:42:41.382 [main ] INFO AwardDaoTest - 测试结果:1253 106 - 奖品ID值 +24-04-07.16:42:41.517 [main ] INFO AwardDaoTest - 测试结果:1260 106 - 奖品ID值 +24-04-07.16:42:42.000 [main ] INFO AwardDaoTest - 测试结果:1288 106 - 奖品ID值 +24-04-07.16:42:42.638 [main ] INFO AwardDaoTest - 测试结果:1326 106 - 奖品ID值 +24-04-07.16:42:42.952 [main ] INFO AwardDaoTest - 测试结果:1344 106 - 奖品ID值 +24-04-07.16:42:42.996 [main ] INFO AwardDaoTest - 测试结果:1346 106 - 奖品ID值 +24-04-07.16:42:43.910 [main ] INFO AwardDaoTest - 测试结果:1400 106 - 奖品ID值 +24-04-07.16:42:44.026 [main ] INFO AwardDaoTest - 测试结果:1407 106 - 奖品ID值 +24-04-07.16:42:44.123 [main ] INFO AwardDaoTest - 测试结果:1413 106 - 奖品ID值 +24-04-07.16:42:45.836 [main ] INFO AwardDaoTest - 测试结果:1510 106 - 奖品ID值 +24-04-07.16:42:46.171 [main ] INFO AwardDaoTest - 测试结果:1530 106 - 奖品ID值 +24-04-07.16:42:46.403 [main ] INFO AwardDaoTest - 测试结果:1545 106 - 奖品ID值 +24-04-07.16:42:49.246 [main ] INFO AwardDaoTest - 测试结果:1649 106 - 奖品ID值 +24-04-07.16:42:49.530 [main ] INFO AwardDaoTest - 测试结果:1666 106 - 奖品ID值 +24-04-07.16:42:49.892 [main ] INFO AwardDaoTest - 测试结果:1687 106 - 奖品ID值 +24-04-07.16:42:51.514 [main ] INFO AwardDaoTest - 测试结果:1782 106 - 奖品ID值 +24-04-07.16:42:51.765 [main ] INFO AwardDaoTest - 测试结果:1797 106 - 奖品ID值 +24-04-07.16:42:52.215 [main ] INFO AwardDaoTest - 测试结果:1824 106 - 奖品ID值 +24-04-07.16:42:52.346 [main ] INFO AwardDaoTest - 测试结果:1832 106 - 奖品ID值 +24-04-07.16:42:52.475 [main ] INFO AwardDaoTest - 测试结果:1839 106 - 奖品ID值 +24-04-07.16:42:53.362 [main ] INFO AwardDaoTest - 测试结果:1891 106 - 奖品ID值 +24-04-07.16:42:53.699 [main ] INFO AwardDaoTest - 测试结果:1912 106 - 奖品ID值 +24-04-07.16:42:53.802 [main ] INFO AwardDaoTest - 测试结果:1919 106 - 奖品ID值 +24-04-07.16:42:54.299 [main ] INFO AwardDaoTest - 测试结果:1949 106 - 奖品ID值 +24-04-07.16:42:54.494 [main ] INFO AwardDaoTest - 测试结果:1960 106 - 奖品ID值 +24-04-07.16:42:58.680 [main ] INFO AwardDaoTest - 测试结果:2121 106 - 奖品ID值 +24-04-07.16:43:00.898 [main ] INFO AwardDaoTest - 测试结果:2208 106 - 奖品ID值 +24-04-07.16:43:01.206 [main ] INFO AwardDaoTest - 测试结果:2227 106 - 奖品ID值 +24-04-07.16:43:02.366 [main ] INFO AwardDaoTest - 测试结果:2297 106 - 奖品ID值 +24-04-07.16:43:02.558 [main ] INFO AwardDaoTest - 测试结果:2309 106 - 奖品ID值 +24-04-07.16:43:02.810 [main ] INFO AwardDaoTest - 测试结果:2324 106 - 奖品ID值 +24-04-07.16:43:03.300 [main ] INFO AwardDaoTest - 测试结果:2351 106 - 奖品ID值 +24-04-07.16:43:03.556 [main ] INFO AwardDaoTest - 测试结果:2365 106 - 奖品ID值 +24-04-07.16:43:03.940 [main ] INFO AwardDaoTest - 测试结果:2386 106 - 奖品ID值 +24-04-07.16:43:04.087 [main ] INFO AwardDaoTest - 测试结果:2395 106 - 奖品ID值 +24-04-07.16:43:04.401 [main ] INFO AwardDaoTest - 测试结果:2414 106 - 奖品ID值 +24-04-07.16:43:04.504 [main ] INFO AwardDaoTest - 测试结果:2420 106 - 奖品ID值 +24-04-07.16:43:05.526 [main ] INFO AwardDaoTest - 测试结果:2481 106 - 奖品ID值 +24-04-07.16:43:05.732 [main ] INFO AwardDaoTest - 测试结果:2494 106 - 奖品ID值 +24-04-07.16:43:07.322 [main ] INFO AwardDaoTest - 测试结果:2559 106 - 奖品ID值 +24-04-07.16:43:07.648 [main ] INFO AwardDaoTest - 测试结果:2565 106 - 奖品ID值 +24-04-07.16:43:07.863 [main ] INFO AwardDaoTest - 测试结果:2572 106 - 奖品ID值 +24-04-07.16:43:08.345 [main ] INFO AwardDaoTest - 测试结果:2589 106 - 奖品ID值 +24-04-07.16:43:09.116 [main ] INFO AwardDaoTest - 测试结果:2613 106 - 奖品ID值 +24-04-07.16:43:09.592 [main ] INFO AwardDaoTest - 测试结果:2642 106 - 奖品ID值 +24-04-07.16:43:10.298 [main ] INFO AwardDaoTest - 测试结果:2682 106 - 奖品ID值 +24-04-07.16:43:12.227 [main ] INFO AwardDaoTest - 测试结果:2795 106 - 奖品ID值 +24-04-07.16:43:12.745 [main ] INFO AwardDaoTest - 测试结果:2824 106 - 奖品ID值 +24-04-07.16:43:13.145 [main ] INFO AwardDaoTest - 测试结果:2848 106 - 奖品ID值 +24-04-07.16:43:13.927 [main ] INFO AwardDaoTest - 测试结果:2897 106 - 奖品ID值 +24-04-07.16:43:14.862 [main ] INFO AwardDaoTest - 测试结果:2950 106 - 奖品ID值 +24-04-07.16:43:15.078 [main ] INFO AwardDaoTest - 测试结果:2959 106 - 奖品ID值 +24-04-07.16:43:16.152 [main ] INFO AwardDaoTest - 测试结果:3020 106 - 奖品ID值 +24-04-07.16:43:16.298 [main ] INFO AwardDaoTest - 测试结果:3029 106 - 奖品ID值 +24-04-07.16:43:16.411 [main ] INFO AwardDaoTest - 测试结果:3036 106 - 奖品ID值 +24-04-07.16:43:18.922 [main ] INFO AwardDaoTest - 测试结果:3090 106 - 奖品ID值 +24-04-07.16:43:19.238 [main ] INFO AwardDaoTest - 测试结果:3110 106 - 奖品ID值 +24-04-07.16:43:21.217 [main ] INFO AwardDaoTest - 测试结果:3227 106 - 奖品ID值 +24-04-07.16:43:22.003 [main ] INFO AwardDaoTest - 测试结果:3273 106 - 奖品ID值 +24-04-07.16:43:22.346 [main ] INFO AwardDaoTest - 测试结果:3295 106 - 奖品ID值 +24-04-07.16:43:23.124 [main ] INFO AwardDaoTest - 测试结果:3344 106 - 奖品ID值 +24-04-07.16:43:26.226 [main ] INFO AwardDaoTest - 测试结果:3532 106 - 奖品ID值 +24-04-07.16:43:27.778 [main ] INFO AwardDaoTest - 测试结果:3567 106 - 奖品ID值 +24-04-07.16:43:28.009 [main ] INFO AwardDaoTest - 测试结果:3574 106 - 奖品ID值 +24-04-07.16:43:28.200 [main ] INFO AwardDaoTest - 测试结果:3578 106 - 奖品ID值 +24-04-07.16:43:28.622 [main ] INFO AwardDaoTest - 测试结果:3590 106 - 奖品ID值 +24-04-07.16:43:28.784 [main ] INFO AwardDaoTest - 测试结果:3593 106 - 奖品ID值 +24-04-07.16:43:30.077 [main ] INFO AwardDaoTest - 测试结果:3650 106 - 奖品ID值 +24-04-07.16:43:30.095 [main ] INFO AwardDaoTest - 测试结果:3651 106 - 奖品ID值 +24-04-07.16:43:30.283 [main ] INFO AwardDaoTest - 测试结果:3662 106 - 奖品ID值 +24-04-07.16:43:31.295 [main ] INFO AwardDaoTest - 测试结果:3723 106 - 奖品ID值 +24-04-07.16:43:32.957 [main ] INFO AwardDaoTest - 测试结果:3816 106 - 奖品ID值 +24-04-07.16:43:33.396 [main ] INFO AwardDaoTest - 测试结果:3840 106 - 奖品ID值 +24-04-07.16:43:35.093 [main ] INFO AwardDaoTest - 测试结果:3941 106 - 奖品ID值 +24-04-07.16:43:36.296 [main ] INFO AwardDaoTest - 测试结果:4015 106 - 奖品ID值 +24-04-07.16:43:39.463 [main ] INFO AwardDaoTest - 测试结果:4095 106 - 奖品ID值 +24-04-07.16:43:40.852 [main ] INFO AwardDaoTest - 测试结果:4158 106 - 奖品ID值 +24-04-07.16:43:41.896 [main ] INFO AwardDaoTest - 测试结果:4220 106 - 奖品ID值 +24-04-07.16:43:42.119 [main ] INFO AwardDaoTest - 测试结果:4233 106 - 奖品ID值 +24-04-07.16:43:42.665 [main ] INFO AwardDaoTest - 测试结果:4267 106 - 奖品ID值 +24-04-07.16:43:44.153 [main ] INFO AwardDaoTest - 测试结果:4358 106 - 奖品ID值 +24-04-07.16:43:44.365 [main ] INFO AwardDaoTest - 测试结果:4369 106 - 奖品ID值 +24-04-07.16:43:45.104 [main ] INFO AwardDaoTest - 测试结果:4416 106 - 奖品ID值 +24-04-07.16:43:45.173 [main ] INFO AwardDaoTest - 测试结果:4420 106 - 奖品ID值 +24-04-07.16:43:45.511 [main ] INFO AwardDaoTest - 测试结果:4434 106 - 奖品ID值 +24-04-07.16:43:46.739 [main ] INFO AwardDaoTest - 测试结果:4499 106 - 奖品ID值 +24-04-07.16:43:50.286 [main ] INFO AwardDaoTest - 测试结果:4589 106 - 奖品ID值 +24-04-07.16:43:50.667 [main ] INFO AwardDaoTest - 测试结果:4614 106 - 奖品ID值 +24-04-07.16:43:51.813 [main ] INFO AwardDaoTest - 测试结果:4681 106 - 奖品ID值 +24-04-07.16:43:51.926 [main ] INFO AwardDaoTest - 测试结果:4688 106 - 奖品ID值 +24-04-07.16:43:52.545 [main ] INFO AwardDaoTest - 测试结果:4723 106 - 奖品ID值 +24-04-07.16:43:53.267 [main ] INFO AwardDaoTest - 测试结果:4762 106 - 奖品ID值 +24-04-07.16:43:53.534 [main ] INFO AwardDaoTest - 测试结果:4779 106 - 奖品ID值 +24-04-07.16:43:53.604 [main ] INFO AwardDaoTest - 测试结果:4782 106 - 奖品ID值 +24-04-07.16:43:56.322 [main ] INFO AwardDaoTest - 测试结果:4943 106 - 奖品ID值 +24-04-07.16:43:58.026 [main ] INFO AwardDaoTest - 测试结果:4992 106 - 奖品ID值 +24-04-07.16:43:58.278 [main ] INFO AwardDaoTest - 测试结果:5000 106 - 奖品ID值 +24-04-07.16:44:00.567 [main ] INFO AwardDaoTest - 测试结果:5123 106 - 奖品ID值 +24-04-07.16:44:02.070 [main ] INFO AwardDaoTest - 测试结果:5213 106 - 奖品ID值 +24-04-07.16:44:02.116 [main ] INFO AwardDaoTest - 测试结果:5216 106 - 奖品ID值 +24-04-07.16:44:02.500 [main ] INFO AwardDaoTest - 测试结果:5240 106 - 奖品ID值 +24-04-07.16:44:03.043 [main ] INFO AwardDaoTest - 测试结果:5275 106 - 奖品ID值 +24-04-07.16:44:09.365 [main ] INFO AwardDaoTest - 测试结果:5556 106 - 奖品ID值 +24-04-07.16:44:10.765 [main ] INFO AwardDaoTest - 测试结果:5634 106 - 奖品ID值 +24-04-07.16:44:12.387 [main ] INFO AwardDaoTest - 测试结果:5728 106 - 奖品ID值 +24-04-07.16:44:13.342 [main ] INFO AwardDaoTest - 测试结果:5784 106 - 奖品ID值 +24-04-07.16:44:13.413 [main ] INFO AwardDaoTest - 测试结果:5788 106 - 奖品ID值 +24-04-07.16:44:14.274 [main ] INFO AwardDaoTest - 测试结果:5839 106 - 奖品ID值 +24-04-07.16:44:14.347 [main ] INFO AwardDaoTest - 测试结果:5843 106 - 奖品ID值 +24-04-07.16:44:15.337 [main ] INFO AwardDaoTest - 测试结果:5905 106 - 奖品ID值 +24-04-07.16:44:15.447 [main ] INFO AwardDaoTest - 测试结果:5912 106 - 奖品ID值 +24-04-07.16:44:15.902 [main ] INFO AwardDaoTest - 测试结果:5941 106 - 奖品ID值 +24-04-07.16:44:16.430 [main ] INFO AwardDaoTest - 测试结果:5973 106 - 奖品ID值 +24-04-07.16:44:19.378 [main ] INFO AwardDaoTest - 测试结果:6067 106 - 奖品ID值 +24-04-07.16:44:20.097 [main ] INFO AwardDaoTest - 测试结果:6112 106 - 奖品ID值 +24-04-07.16:44:20.906 [main ] INFO AwardDaoTest - 测试结果:6160 106 - 奖品ID值 +24-04-07.16:44:23.117 [main ] INFO AwardDaoTest - 测试结果:6290 106 - 奖品ID值 +24-04-07.16:44:24.308 [main ] INFO AwardDaoTest - 测试结果:6361 106 - 奖品ID值 +24-04-07.16:44:24.467 [main ] INFO AwardDaoTest - 测试结果:6371 106 - 奖品ID值 +24-04-07.16:44:25.339 [main ] INFO AwardDaoTest - 测试结果:6424 106 - 奖品ID值 +24-04-07.16:44:25.682 [main ] INFO AwardDaoTest - 测试结果:6446 106 - 奖品ID值 +24-04-07.16:44:26.780 [main ] INFO AwardDaoTest - 测试结果:6508 106 - 奖品ID值 +24-04-07.16:44:30.134 [main ] INFO AwardDaoTest - 测试结果:6625 106 - 奖品ID值 +24-04-07.16:44:30.364 [main ] INFO AwardDaoTest - 测试结果:6639 106 - 奖品ID值 +24-04-07.16:44:30.474 [main ] INFO AwardDaoTest - 测试结果:6646 106 - 奖品ID值 +24-04-07.16:44:31.396 [main ] INFO AwardDaoTest - 测试结果:6701 106 - 奖品ID值 +24-04-07.16:44:31.551 [main ] INFO AwardDaoTest - 测试结果:6711 106 - 奖品ID值 +24-04-07.16:44:31.597 [main ] INFO AwardDaoTest - 测试结果:6714 106 - 奖品ID值 +24-04-07.16:44:32.849 [main ] INFO AwardDaoTest - 测试结果:6790 106 - 奖品ID值 +24-04-07.16:44:32.890 [main ] INFO AwardDaoTest - 测试结果:6792 106 - 奖品ID值 +24-04-07.16:44:33.417 [main ] INFO AwardDaoTest - 测试结果:6824 106 - 奖品ID值 +24-04-07.16:44:35.579 [main ] INFO AwardDaoTest - 测试结果:6952 106 - 奖品ID值 +24-04-07.16:44:38.237 [main ] INFO AwardDaoTest - 测试结果:7044 106 - 奖品ID值 +24-04-07.16:44:40.407 [main ] INFO AwardDaoTest - 测试结果:7102 106 - 奖品ID值 +24-04-07.16:44:40.662 [main ] INFO AwardDaoTest - 测试结果:7119 106 - 奖品ID值 +24-04-07.16:44:40.940 [main ] INFO AwardDaoTest - 测试结果:7136 106 - 奖品ID值 +24-04-07.16:44:41.875 [main ] INFO AwardDaoTest - 测试结果:7195 106 - 奖品ID值 +24-04-07.16:44:42.192 [main ] INFO AwardDaoTest - 测试结果:7215 106 - 奖品ID值 +24-04-07.16:44:42.575 [main ] INFO AwardDaoTest - 测试结果:7240 106 - 奖品ID值 +24-04-07.16:44:43.250 [main ] INFO AwardDaoTest - 测试结果:7280 106 - 奖品ID值 +24-04-07.16:44:43.324 [main ] INFO AwardDaoTest - 测试结果:7285 106 - 奖品ID值 +24-04-07.16:44:43.419 [main ] INFO AwardDaoTest - 测试结果:7291 106 - 奖品ID值 +24-04-07.16:44:43.838 [main ] INFO AwardDaoTest - 测试结果:7314 106 - 奖品ID值 +24-04-07.16:44:44.417 [main ] INFO AwardDaoTest - 测试结果:7342 106 - 奖品ID值 +24-04-07.16:44:44.476 [main ] INFO AwardDaoTest - 测试结果:7346 106 - 奖品ID值 +24-04-07.16:44:45.113 [main ] INFO AwardDaoTest - 测试结果:7385 106 - 奖品ID值 +24-04-07.16:44:46.824 [main ] INFO AwardDaoTest - 测试结果:7474 106 - 奖品ID值 +24-04-07.16:44:48.786 [main ] INFO AwardDaoTest - 测试结果:7526 106 - 奖品ID值 +24-04-07.16:44:49.467 [main ] INFO AwardDaoTest - 测试结果:7569 106 - 奖品ID值 +24-04-07.16:44:49.549 [main ] INFO AwardDaoTest - 测试结果:7574 106 - 奖品ID值 +24-04-07.16:44:49.814 [main ] INFO AwardDaoTest - 测试结果:7591 106 - 奖品ID值 +24-04-07.16:44:49.834 [main ] INFO AwardDaoTest - 测试结果:7592 106 - 奖品ID值 +24-04-07.16:44:50.129 [main ] INFO AwardDaoTest - 测试结果:7611 106 - 奖品ID值 +24-04-07.16:44:50.620 [main ] INFO AwardDaoTest - 测试结果:7643 106 - 奖品ID值 +24-04-07.16:44:52.335 [main ] INFO AwardDaoTest - 测试结果:7745 106 - 奖品ID值 +24-04-07.16:44:52.842 [main ] INFO AwardDaoTest - 测试结果:7776 106 - 奖品ID值 +24-04-07.16:44:53.904 [main ] INFO AwardDaoTest - 测试结果:7836 106 - 奖品ID值 +24-04-07.16:44:55.310 [main ] INFO AwardDaoTest - 测试结果:7910 106 - 奖品ID值 +24-04-07.16:44:55.640 [main ] INFO AwardDaoTest - 测试结果:7931 106 - 奖品ID值 +24-04-07.16:44:55.812 [main ] INFO AwardDaoTest - 测试结果:7941 106 - 奖品ID值 +24-04-07.16:44:58.304 [main ] INFO AwardDaoTest - 测试结果:8026 106 - 奖品ID值 +24-04-07.16:44:58.678 [main ] INFO AwardDaoTest - 测试结果:8033 106 - 奖品ID值 +24-04-07.16:45:02.730 [main ] INFO AwardDaoTest - 测试结果:8263 106 - 奖品ID值 +24-04-07.16:45:03.884 [main ] INFO AwardDaoTest - 测试结果:8336 106 - 奖品ID值 +24-04-07.16:45:04.226 [main ] INFO AwardDaoTest - 测试结果:8354 106 - 奖品ID值 +24-04-07.16:45:06.050 [main ] INFO AwardDaoTest - 测试结果:8462 106 - 奖品ID值 +24-04-07.16:45:06.316 [main ] INFO AwardDaoTest - 测试结果:8480 106 - 奖品ID值 +24-04-07.16:45:24.056 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 15640 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:45:24.058 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:45:25.657 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:45:25.663 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:45:25.715 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 20 ms. Found 0 Redis repository interfaces. +24-04-07.16:45:47.468 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:46:04.936 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:46:07.092 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:46:18.845 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:46:19.001 [main ] INFO AwardDaoTest - Started AwardDaoTest in 55.88 seconds (JVM running for 57.754) +24-04-07.16:46:24.857 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 24800 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:46:24.859 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:46:26.021 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:46:26.027 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:46:26.065 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces. +24-04-07.16:46:49.142 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:47:07.074 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:47:09.184 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:49:12.139 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 33096 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.16:49:12.141 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.16:49:13.655 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.16:49:13.660 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.16:49:13.714 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 23 ms. Found 0 Redis repository interfaces. +24-04-07.16:49:38.900 [main ] INFO Version - Redisson 3.23.4 +24-04-07.16:50:03.111 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:50:04.746 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.16:51:21.236 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:51:41.727 [main ] INFO AwardDaoTest - Started AwardDaoTest in 317.496 seconds (JVM running for 320.104) +24-04-07.16:54:02.810 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.16:54:21.047 [main ] INFO AwardDaoTest - Started AwardDaoTest in 309.99 seconds (JVM running for 312.271) +24-04-07.17:36:09.441 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 34900 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:36:09.443 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:36:10.679 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:36:10.684 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:36:10.725 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 18 ms. Found 0 Redis repository interfaces. +24-04-07.17:36:30.795 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:36:48.438 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:36:49.927 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:38:27.120 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:38:27.344 [main ] INFO AwardDaoTest - Started AwardDaoTest in 138.696 seconds (JVM running for 140.348) +24-04-07.17:38:32.295 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 33080 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:38:32.296 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:38:33.476 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:38:33.479 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:38:33.505 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 12 ms. Found 0 Redis repository interfaces. +24-04-07.17:38:36.254 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:38:37.410 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:38:37.634 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:38:40.421 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:38:40.502 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.854 seconds (JVM running for 10.117) +24-04-07.17:41:31.262 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 30440 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:41:31.264 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:41:32.392 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:41:32.397 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:41:32.433 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. +24-04-07.17:41:52.572 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:42:09.637 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:42:11.133 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:45:40.574 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:45:40.792 [main ] INFO AwardDaoTest - Started AwardDaoTest in 250.247 seconds (JVM running for 252.302) +24-04-07.17:45:48.246 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 35484 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:45:48.248 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:45:49.937 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:45:49.941 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:45:49.974 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 15 ms. Found 0 Redis repository interfaces. +24-04-07.17:45:52.098 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:45:53.249 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:45:53.462 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:45:55.566 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:45:55.654 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.095 seconds (JVM running for 9.264) +24-04-07.17:45:56.345 [redisson-netty-2-2] ERROR CommandDecoder - Unable to decode data. channel: [id: 0x2a921f8f, L:/192.168.3.8:60342 - R:120.78.91.227/120.78.91.227:6379], reply: ReplayingDecoderByteBuf(ridx=498, widx=498), command: (GET), promise: java.util.concurrent.CompletableFuture@7fc021bc[Not completed, 1 dependents], params: [big_market_strategy_award_key_100002] +com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 89 + at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:159) + at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:758) + at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:869) + at org.redisson.codec.Kryo5Codec$4.decode(Kryo5Codec.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:394) + at org.redisson.client.handler.CommandDecoder.decodeCommand(CommandDecoder.java:205) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:120) + at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529) + at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:748) +24-04-07.17:45:56.361 [redisson-netty-2-2] ERROR ErrorsLoggingHandler - Exception occured. Channel: [id: 0x2a921f8f, L:/192.168.3.8:60342 - R:120.78.91.227/120.78.91.227:6379] +io.netty.handler.codec.DecoderException: com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 89 + at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:421) + at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) + at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) + at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) + at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) + at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) + at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) + at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) + at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) + at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) + at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) + at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) + at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) + at java.lang.Thread.run(Thread.java:748) +Caused by: com.esotericsoftware.kryo.KryoException: Encountered unregistered class ID: 89 + at com.esotericsoftware.kryo.util.DefaultClassResolver.readClass(DefaultClassResolver.java:159) + at com.esotericsoftware.kryo.Kryo.readClass(Kryo.java:758) + at com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:869) + at org.redisson.codec.Kryo5Codec$4.decode(Kryo5Codec.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:394) + at org.redisson.client.handler.CommandDecoder.decodeCommand(CommandDecoder.java:205) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:144) + at org.redisson.client.handler.CommandDecoder.decode(CommandDecoder.java:120) + at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529) + at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:366) + ... 17 common frames omitted +24-04-07.17:46:26.202 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 15096 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:46:26.204 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:46:27.622 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:46:27.627 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:46:27.660 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. +24-04-07.17:46:29.914 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:46:30.988 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:46:31.230 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:46:33.424 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:46:33.547 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.008 seconds (JVM running for 9.868) +24-04-07.17:46:34.340 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.17:46:35.809 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.17:46:36.427 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.17:46:36.603 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.17:47:05.793 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 27900 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:47:05.795 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:47:07.130 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:47:07.133 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:47:07.160 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 11 ms. Found 0 Redis repository interfaces. +24-04-07.17:47:09.316 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:47:10.369 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:47:10.576 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:47:12.565 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:47:12.637 [main ] INFO AwardDaoTest - Started AwardDaoTest in 7.397 seconds (JVM running for 8.317) +24-04-07.17:47:13.098 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.17:47:14.671 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.17:47:15.484 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.17:47:15.567 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.17:49:52.842 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 22476 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:49:52.845 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:49:54.265 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:49:54.268 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:49:54.298 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +24-04-07.17:49:56.357 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:49:57.478 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:49:57.711 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:49:59.665 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:49:59.740 [main ] INFO AwardDaoTest - Started AwardDaoTest in 7.715 seconds (JVM running for 9.592) +24-04-07.17:50:00.199 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.17:50:01.431 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.17:50:01.808 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.17:50:01.828 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.17:50:50.227 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 1588 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:50:50.229 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:50:51.607 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:50:51.612 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:50:51.668 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 27 ms. Found 0 Redis repository interfaces. +24-04-07.17:51:12.425 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:51:29.199 [redisson-netty-2-5] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:51:30.880 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:51:56.977 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 18056 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:51:56.979 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:51:58.372 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:51:58.376 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:51:58.409 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 15 ms. Found 0 Redis repository interfaces. +24-04-07.17:52:00.455 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:52:01.541 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:52:01.750 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:52:03.650 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:52:03.735 [main ] INFO AwardDaoTest - Started AwardDaoTest in 7.498 seconds (JVM running for 8.798) +24-04-07.17:52:04.214 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.17:52:05.793 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.17:52:06.579 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.17:52:06.754 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.17:54:37.857 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 34084 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:54:37.859 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:54:39.583 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:54:39.588 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:54:39.622 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces. +24-04-07.17:54:41.866 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:54:42.961 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:54:43.202 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:54:45.124 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:54:45.209 [main ] INFO AwardDaoTest - Started AwardDaoTest in 8.133 seconds (JVM running for 9.698) +24-04-07.17:54:45.677 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.17:54:47.303 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.17:54:47.678 [main ] INFO StrategyArmory - rateRange61 +24-04-07.17:54:47.679 [main ] INFO StrategyArmory - 31 +24-04-07.17:54:47.730 [main ] INFO StrategyArmory - 38 +24-04-07.17:54:47.753 [main ] INFO StrategyArmory - 39 +24-04-07.17:54:47.828 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.17:54:47.846 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. +24-04-07.17:57:07.087 [main ] INFO AwardDaoTest - Starting AwardDaoTest using Java 1.8.0_241 on Hudingrong with PID 28836 (started by 86189 in E:\resource\market_platform\xfg-frame-archetype-lite\xfg-frame-archetype-lite-app) +24-04-07.17:57:07.088 [main ] INFO AwardDaoTest - The following 1 profile is active: "dev" +24-04-07.17:57:08.238 [main ] INFO RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode +24-04-07.17:57:08.241 [main ] INFO RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. +24-04-07.17:57:08.270 [main ] INFO RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 13 ms. Found 0 Redis repository interfaces. +24-04-07.17:57:10.313 [main ] INFO Version - Redisson 3.23.4 +24-04-07.17:57:11.494 [redisson-netty-2-4] INFO MasterPubSubConnectionPool - 1 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:57:11.720 [redisson-netty-2-23] INFO MasterConnectionPool - 10 connections initialized for 120.78.91.227/120.78.91.227:6379 +24-04-07.17:57:14.138 [main ] INFO EndpointLinksResolver - Exposing 1 endpoint(s) beneath base path '/actuator' +24-04-07.17:57:14.229 [main ] INFO AwardDaoTest - Started AwardDaoTest in 7.827 seconds (JVM running for 9.094) +24-04-07.17:57:14.771 [main ] INFO HikariDataSource - HikariPool-1 - Starting... +24-04-07.17:57:16.372 [main ] INFO HikariDataSource - HikariPool-1 - Start completed. +24-04-07.17:57:16.658 [main ] INFO StrategyArmory - rateRange61 +24-04-07.17:57:16.659 [main ] INFO StrategyArmory - rateRange.multiply(awardRate).setScale(0, RoundingMode.CEILING).intValue()31 +24-04-07.17:57:16.659 [main ] INFO StrategyArmory - 31 +24-04-07.17:57:16.806 [main ] INFO StrategyArmory - rateRange.multiply(awardRate).setScale(0, RoundingMode.CEILING).intValue()7 +24-04-07.17:57:16.806 [main ] INFO StrategyArmory - 38 +24-04-07.17:57:16.832 [main ] INFO StrategyArmory - rateRange.multiply(awardRate).setScale(0, RoundingMode.CEILING).intValue()1 +24-04-07.17:57:16.832 [main ] INFO StrategyArmory - 39 +24-04-07.17:57:17.040 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown initiated... +24-04-07.17:57:17.244 [SpringApplicationShutdownHook] INFO HikariDataSource - HikariPool-1 - Shutdown completed. diff --git a/xfg-frame-archetype-lite-app/pom.xml b/xfg-frame-archetype-lite-app/pom.xml index e96799dfa530589136e1c1d144b2f095b8664144..a185abe55baedeff47e3f5a0ea812f99b6ebaf37 100644 --- a/xfg-frame-archetype-lite-app/pom.xml +++ b/xfg-frame-archetype-lite-app/pom.xml @@ -78,6 +78,10 @@ converter-gson 2.9.0 + + org.redisson + redisson-spring-boot-starter + diff --git a/xfg-frame-archetype-lite-app/src/main/java/cn/bugstack/config/RedisClientConfig.java b/xfg-frame-archetype-lite-app/src/main/java/cn/bugstack/config/RedisClientConfig.java new file mode 100644 index 0000000000000000000000000000000000000000..703a0ec21eb706141e61588c3e9087e5f6a10189 --- /dev/null +++ b/xfg-frame-archetype-lite-app/src/main/java/cn/bugstack/config/RedisClientConfig.java @@ -0,0 +1,84 @@ +package cn.bugstack.config; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.serializer.SerializerFeature; +import io.netty.buffer.ByteBuf; +import io.netty.buffer.ByteBufAllocator; +import io.netty.buffer.ByteBufInputStream; +import io.netty.buffer.ByteBufOutputStream; +import org.redisson.Redisson; +import org.redisson.api.RedissonClient; +import org.redisson.client.codec.BaseCodec; +import org.redisson.client.protocol.Decoder; +import org.redisson.client.protocol.Encoder; +import org.redisson.config.Config; +import org.springframework.boot.context.properties.EnableConfigurationProperties; +import org.springframework.context.ConfigurableApplicationContext; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import java.io.IOException; + +/** + * Redis 客户端,使用 Redisson Redisson + * + * @author Fuzhengwei bugstack.cn @小傅哥 + */ +@Configuration +@EnableConfigurationProperties(RedisClientConfigProperties.class) +public class RedisClientConfig { + + @Bean("redissonClient") + public RedissonClient redissonClient(ConfigurableApplicationContext applicationContext, RedisClientConfigProperties properties) { + Config config = new Config(); + // 根据需要可以设定编解码器;https://github.com/redisson/redisson/wiki/4.-%E6%95%B0%E6%8D%AE%E5%BA%8F%E5%88%97%E5%8C%96 + config.setCodec(new RedisCodec()); + + config.useSingleServer() + .setAddress("redis://" + properties.getHost() + ":" + properties.getPort()) + .setPassword(properties.getPassword()) + .setConnectionPoolSize(properties.getPoolSize()) + .setConnectionMinimumIdleSize(properties.getMinIdleSize()) + .setIdleConnectionTimeout(properties.getIdleTimeout()) + .setConnectTimeout(properties.getConnectTimeout()) + .setRetryAttempts(properties.getRetryAttempts()) + .setRetryInterval(properties.getRetryInterval()) + .setPingConnectionInterval(properties.getPingInterval()) + .setKeepAlive(properties.isKeepAlive()) + ; + + return Redisson.create(config); + } + + static class RedisCodec extends BaseCodec { + + private final Encoder encoder = in -> { + ByteBuf out = ByteBufAllocator.DEFAULT.buffer(); + try { + ByteBufOutputStream os = new ByteBufOutputStream(out); + JSON.writeJSONString(os, in, SerializerFeature.WriteClassName); + return os.buffer(); + } catch (IOException e) { + out.release(); + throw e; + } catch (Exception e) { + out.release(); + throw new IOException(e); + } + }; + + private final Decoder decoder = (buf, state) -> JSON.parseObject(new ByteBufInputStream(buf), Object.class); + + @Override + public Decoder getValueDecoder() { + return decoder; + } + + @Override + public Encoder getValueEncoder() { + return encoder; + } + + } + +} diff --git a/xfg-frame-archetype-lite-app/src/main/java/cn/bugstack/config/RedisClientConfigProperties.java b/xfg-frame-archetype-lite-app/src/main/java/cn/bugstack/config/RedisClientConfigProperties.java new file mode 100644 index 0000000000000000000000000000000000000000..96fd2f0b338ba0f35e15f1ef1ff6e97d6e8ce442 --- /dev/null +++ b/xfg-frame-archetype-lite-app/src/main/java/cn/bugstack/config/RedisClientConfigProperties.java @@ -0,0 +1,38 @@ +package cn.bugstack.config; + +import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; + +/** + * @author Fuzhengwei bugstack.cn @小傅哥 + * @description Redis 连接配置 redisson-spring-boot-starter + * @create 2023-12-23 09:51 + */ +@Data +@ConfigurationProperties(prefix = "redis.sdk.config", ignoreInvalidFields = true) +public class RedisClientConfigProperties { + + /** host:ip */ + private String host; + /** 端口 */ + private int port; + /** 账密 */ + private String password; + /** 设置连接池的大小,默认为64 */ + private int poolSize = 64; + /** 设置连接池的最小空闲连接数,默认为10 */ + private int minIdleSize = 10; + /** 设置连接的最大空闲时间(单位:毫秒),超过该时间的空闲连接将被关闭,默认为10000 */ + private int idleTimeout = 10000; + /** 设置连接超时时间(单位:毫秒),默认为10000 */ + private int connectTimeout = 10000; + /** 设置连接重试次数,默认为3 */ + private int retryAttempts = 3; + /** 设置连接重试的间隔时间(单位:毫秒),默认为1000 */ + private int retryInterval = 1000; + /** 设置定期检查连接是否可用的时间间隔(单位:毫秒),默认为0,表示不进行定期检查 */ + private int pingInterval = 0; + /** 设置是否保持长连接,默认为true */ + private boolean keepAlive = true; + +} diff --git a/xfg-frame-archetype-lite-app/src/main/resources/application-dev.yml b/xfg-frame-archetype-lite-app/src/main/resources/application-dev.yml index 8fea9539c8c86fa33830ac4da40470a05c7ec915..f033031e908d95ff02742c5ff947f3450f51cbd3 100644 --- a/xfg-frame-archetype-lite-app/src/main/resources/application-dev.yml +++ b/xfg-frame-archetype-lite-app/src/main/resources/application-dev.yml @@ -17,18 +17,25 @@ spring: datasource: username: root password: eIRZoTNHLXZXm4^V* - url: jdbc:mysql://120.78.91.227:3306/big-market?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=UTC&useSSL=true + url: jdbc:mysql://120.78.91.227:3306/big_market?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=UTC&useSSL=true driver-class-name: com.mysql.cj.jdbc.Driver -# hikari: -# pool-name: Retail_HikariCP -# minimum-idle: 15 #最小空闲连接数量 -# idle-timeout: 180000 #空闲连接存活最大时间,默认600000(10分钟) -# maximum-pool-size: 25 #连接池最大连接数,默认是10 -# auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true -# max-lifetime: 18 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 -# connection-timeout: 30000 #数据库连接超时时间,默认30秒,即30000 -# connection-test-query: SELECT 1 -# type: com.zaxxer.hikari.HikariDataSource + hikari: + pool-name: Retail_HikariCP + minimum-idle: 15 #最小空闲连接数量 + idle-timeout: 180000 #空闲连接存活最大时间,默认600000(10分钟) + maximum-pool-size: 25 #连接池最大连接数,默认是10 + auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true + max-lifetime: 18 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟 + connection-timeout: 30000 #数据库连接超时时间,默认30秒,即30000 + connection-test-query: SELECT 1 + type: com.zaxxer.hikari.HikariDataSource +# redis配置 +redis: + sdk: + config: + host: 120.78.91.227 + port: 6379 + password: bYBnbyRt1q64Mrmpld8g mybatis: mapper-locations: classpath:/mybatis/mapper/*.xml diff --git a/xfg-frame-archetype-lite-app/src/main/resources/mybatis/mapper/strategy_award_mapper.xml b/xfg-frame-archetype-lite-app/src/main/resources/mybatis/mapper/strategy_award_mapper.xml index 91a9212afdeaf773c1a26fab376baa9dc72a174b..67ee57e39658f0e5291d5a806018e732e8d484ce 100644 --- a/xfg-frame-archetype-lite-app/src/main/resources/mybatis/mapper/strategy_award_mapper.xml +++ b/xfg-frame-archetype-lite-app/src/main/resources/mybatis/mapper/strategy_award_mapper.xml @@ -22,5 +22,11 @@ from strategy_award limit 10 + diff --git a/xfg-frame-archetype-lite-app/src/test/java/cn/bugstack/test/domain/StrategyTest.java b/xfg-frame-archetype-lite-app/src/test/java/cn/bugstack/test/domain/StrategyTest.java new file mode 100644 index 0000000000000000000000000000000000000000..665bde5f83a12899b85bef9379605b562dd321c2 --- /dev/null +++ b/xfg-frame-archetype-lite-app/src/test/java/cn/bugstack/test/domain/StrategyTest.java @@ -0,0 +1,93 @@ +package cn.bugstack.test.domain; + +import cn.bugstack.domain.strategy.service.armory.IStrategyArmory; +import cn.bugstack.infrastructure.persistent.redis.IRedisService; +import lombok.extern.slf4j.Slf4j; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.redisson.api.RMap; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +import javax.annotation.Resource; +import java.util.*; + +/** + * @author Fuzhengwei bugstack.cn @小傅哥 + * @description 策略领域测试 + * @create 2023-12-23 11:33 + */ +@Slf4j +@RunWith(SpringRunner.class) +@SpringBootTest +public class StrategyTest { + + @Resource + private IStrategyArmory strategyArmory; + + /** + * 策略ID;100001L、100002L 装配的时候创建策略表写入到 Redis Map 中 + */ + @Test + public void test_strategyArmory() { + strategyArmory.assembleLotteryStrategy(100002L); + log.info("测试结果:{}"); + } + + /** + * 从装配的策略中随机获取奖品ID值 + */ + @Test + public void test_getAssembleRandomVal() { + log.info("测试结果:{} - 奖品ID值", strategyArmory.getRandomAwardId(100002L)); + } + + @Resource + private IRedisService redisService; + + @Test + public void test_map() { + RMap map = redisService.getMap("strategy_id_100001"); + map.put(1, 101); + map.put(2, 101); + map.put(3, 101); + map.put(4, 102); + map.put(5, 102); + map.put(6, 102); + map.put(7, 103); + map.put(8, 103); + map.put(9, 104); + map.put(10, 105); + + log.info("测试结果:{}", redisService.getMap("strategy_id_100001").get(1)); + } + + @Test + public void test_shuffle(){ + Map strategyAwardSearchRateTable = new HashMap<>(); + // 添加内容到Map中 + strategyAwardSearchRateTable.put(1, 10); + strategyAwardSearchRateTable.put(2, 20); + strategyAwardSearchRateTable.put(3, 30); + strategyAwardSearchRateTable.put(4, 40); + + // 将Map中的值转换为List + List valueList = new ArrayList<>(strategyAwardSearchRateTable.values()); + + // 使用Collections.shuffle()方法对值的List进行乱序 + Collections.shuffle(valueList); + + // 将乱序后的值重新放回Map中 + Map randomizedMap = new LinkedHashMap<>(); + Iterator valueIterator = valueList.iterator(); + for (Integer key : strategyAwardSearchRateTable.keySet()) { + randomizedMap.put(key, valueIterator.next()); + } + + // 打印乱序后的Map内容 + for (Map.Entry entry : randomizedMap.entrySet()) { + System.out.println("Key: " + entry.getKey() + ", Value: " + entry.getValue()); + } + } + +} diff --git a/xfg-frame-archetype-lite-app/src/test/java/cn/bugstack/test/infrastructure/AwardDaoTest.java b/xfg-frame-archetype-lite-app/src/test/java/cn/bugstack/test/infrastructure/AwardDaoTest.java index 48b4bdd5578c5e5f92a6351fb68fba012b58660a..a6de284dc55f705c1af9c1885d02bd5f03906811 100644 --- a/xfg-frame-archetype-lite-app/src/test/java/cn/bugstack/test/infrastructure/AwardDaoTest.java +++ b/xfg-frame-archetype-lite-app/src/test/java/cn/bugstack/test/infrastructure/AwardDaoTest.java @@ -1,15 +1,22 @@ package cn.bugstack.test.infrastructure; +import cn.bugstack.domain.strategy.service.armory.StrategyArmory; import cn.bugstack.infrastructure.persistent.dao.IAwardDao; import cn.bugstack.infrastructure.persistent.po.Award; +import cn.bugstack.infrastructure.persistent.redis.IRedisService; import com.alibaba.fastjson.JSON; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.junit.runner.RunWith; +import org.redisson.api.RMap; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.data.redis.connection.RedisServer; +import org.springframework.data.redis.core.RedisTemplate; import org.springframework.test.context.junit4.SpringRunner; import javax.annotation.Resource; +import java.util.ArrayList; import java.util.List; /** @@ -25,10 +32,56 @@ public class AwardDaoTest { @Resource private IAwardDao awardDao; + @Resource + private IRedisService redisService; + + @Autowired + private StrategyArmory strategyArmory; + @Test public void test_queryAwardList() { List awards = awardDao.queryAwardList(); log.info("测试结果:{}", JSON.toJSONString(awards)); } + @Test + public void test_redis() { + + RMap map = redisService.getMap("strategy_id_100001"); + map.put(1, 101); + map.put(2, 101); + map.put(3, 101); + map.put(4, 102); + map.put(5, 102); + map.put(6, 102); + map.put(7, 103); + map.put(8, 103); + map.put(9, 104); + map.put(10, 105); + + log.info("测试结果:{}", redisService.getMap("strategy_id_100001").get(1)); + //System.out.println(redisServer.getValue("20240405")+""); + } + + + @Test + public void test_strategyArmory() { + strategyArmory.assembleLotteryStrategy(100002L); + } + + /** + * 从装配的策略中随机获取奖品ID值 + */ + @Test + public void test_getAssembleRandomVal() { + for (int i = 0; i < 10; i++) { + Integer randomAwardId = strategyArmory.getRandomAwardId(100002L); + if (randomAwardId == 106) { + log.info("测试结果:{} {} - 奖品ID值",i,randomAwardId ); + } + + } + + } + } diff --git a/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/model/entity/StrategyAwardEntity.java b/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/model/entity/StrategyAwardEntity.java new file mode 100644 index 0000000000000000000000000000000000000000..85416c3d410e3acf26e6a7ecad37d4a0ab21c637 --- /dev/null +++ b/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/model/entity/StrategyAwardEntity.java @@ -0,0 +1,31 @@ +package cn.bugstack.domain.strategy.model.entity; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.math.BigDecimal; + +/** + * @description: 策略奖品实体 + * @author: hdr + * @PACKAGE_NAME: cn.bugstack.domain.strategy.model.entity + * @DATE: 2024/4/7 + */ +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +public class StrategyAwardEntity { + /** 抽奖策略ID */ + private Long strategyId; + /** 抽奖奖品ID - 内部流转使用 */ + private Integer awardId; + /** 奖品库存总量 */ + private Integer awardCount; + /** 奖品库存剩余 */ + private Integer awardCountSurplus; + /** 奖品中奖概率 */ + private BigDecimal awardRate; +} diff --git a/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/repository/IStrategyRepository.java b/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/repository/IStrategyRepository.java new file mode 100644 index 0000000000000000000000000000000000000000..07d3a95f6fc30c18a0c56ac578252e4f83bb4731 --- /dev/null +++ b/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/repository/IStrategyRepository.java @@ -0,0 +1,46 @@ +package cn.bugstack.domain.strategy.repository; + +import cn.bugstack.domain.strategy.model.entity.StrategyAwardEntity; + +import java.math.BigDecimal; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * @description: 策略仓储接口 + * @author: hdr + * @PACKAGE_NAME: cn.bugstack.domain.strategy.repository + * @DATE: 2024/4/5 + */ +public interface IStrategyRepository { + + /** + * 查询策略对应的数据 + * @param strategy 策略id + * @return 策略数据 + */ + List queryStrategyAwardList(Long strategy); + + /** + * @param strategyId 策略id + * @param rateRange 概率 + * @param shuffleStrategyAwardSearchRateTables 所有保存的概率 + */ + void storeStrategyAwardSearchRateTables(Long strategyId, Integer rateRange, HashMap shuffleStrategyAwardSearchRateTables); + + /** + * + * @param strategyId 获取概率值 + * @return + */ + int getRandomAwardId(Long strategyId); + + /** + * 获取哦奖品id + * @param strategyId + * @param nextInt + * @return + */ + Integer getStrategyAwardAssemble(Long strategyId, int nextInt); +} diff --git a/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/service/armory/IStrategyArmory.java b/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/service/armory/IStrategyArmory.java new file mode 100644 index 0000000000000000000000000000000000000000..de41f534bee6d750d1a472d59b430e22ffc0f868 --- /dev/null +++ b/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/service/armory/IStrategyArmory.java @@ -0,0 +1,23 @@ +package cn.bugstack.domain.strategy.service.armory; + +/** + * @description: + * @author: hdr + * @PACKAGE_NAME: cn.bugstack.domain.strategy.service.armory + * @DATE: 2024/4/5 + */ +public interface IStrategyArmory { + + /** + * 抽奖策略 + * @param strategy + */ + void assembleLotteryStrategy(Long strategy); + + /** + * 获取随机奖品id + * @param strategyId + * @return + */ + Integer getRandomAwardId(Long strategyId); +} diff --git a/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/service/armory/StrategyArmory.java b/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/service/armory/StrategyArmory.java new file mode 100644 index 0000000000000000000000000000000000000000..437338011ea6bf9f3ea1196e5d18d733290fe0af --- /dev/null +++ b/xfg-frame-archetype-lite-domain/src/main/java/cn/bugstack/domain/strategy/service/armory/StrategyArmory.java @@ -0,0 +1,83 @@ +package cn.bugstack.domain.strategy.service.armory; + +import cn.bugstack.domain.strategy.model.entity.StrategyAwardEntity; +import cn.bugstack.domain.strategy.repository.IStrategyRepository; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.math.BigDecimal; +import java.math.RoundingMode; +import java.security.SecureRandom; +import java.util.*; +import java.util.stream.Collectors; + +/** + * @description: + * @author: hdr + * @PACKAGE_NAME: cn.bugstack.domain.strategy.service.armory + * @DATE: 2024/4/5 + */ +@Slf4j +@Service +public class StrategyArmory implements IStrategyArmory { + + @Autowired + private IStrategyRepository repository; + + @Override + public void assembleLotteryStrategy(Long strategy) { + + // 1. 查询策略配置 + List awardEntityList = repository.queryStrategyAwardList(strategy); + + // 2. 获取最小概率值 + BigDecimal minAwardRate = awardEntityList.stream().map(StrategyAwardEntity::getAwardRate) + .min(BigDecimal::compareTo) + .orElse(BigDecimal.ZERO); + + // 3. 获取概率值总和 + BigDecimal totalAwardRate = awardEntityList.stream() + .map(StrategyAwardEntity::getAwardRate) + .reduce(BigDecimal.ZERO, BigDecimal::add); + + // 4. 用 1% 0.001获取概率范围,百分位、千分位、万分位 + BigDecimal rateRange = totalAwardRate.divide(minAwardRate, 0, RoundingMode.CEILING); + + + ArrayList strategyAwardSearchRateTables = new ArrayList(rateRange.intValue()); + for (StrategyAwardEntity strategyAwardEntity : awardEntityList) { + Integer awardId = strategyAwardEntity.getAwardId(); + BigDecimal awardRate = strategyAwardEntity.getAwardRate(); + + // 5. 计算出每个概率值需要存储到查找表的数量,循环填充 + + log.info("rateRange.multiply(awardRate).setScale(0, RoundingMode.CEILING).intValue()"+rateRange.multiply(awardRate).setScale(0, RoundingMode.CEILING).intValue()); + for (int i = 0; i < rateRange.multiply(awardRate).setScale(0, RoundingMode.CEILING).intValue(); i++) { + strategyAwardSearchRateTables.add(awardId); + } + + // 6. 乱序 + Collections.shuffle(strategyAwardSearchRateTables); + + // 7. + HashMap shuffleStrategyAwardSearchRateTables = new HashMap<>(); + for (int i = 0; i < strategyAwardSearchRateTables.size(); i++) { + shuffleStrategyAwardSearchRateTables.put(i, (Integer) strategyAwardSearchRateTables.get(i)); + } + + log.info(shuffleStrategyAwardSearchRateTables.size()+""); + // 8. 存储到 redis中 + repository.storeStrategyAwardSearchRateTables(strategy,shuffleStrategyAwardSearchRateTables.size(), shuffleStrategyAwardSearchRateTables); + } + + + + } + + @Override + public Integer getRandomAwardId(Long strategyId) { + int rateRange = repository.getRandomAwardId(strategyId); + return repository.getStrategyAwardAssemble(strategyId,new SecureRandom().nextInt(rateRange)); + } +} diff --git a/xfg-frame-archetype-lite-infrastructure/pom.xml b/xfg-frame-archetype-lite-infrastructure/pom.xml index 2bb0475805526ef6a7f55d6b32a067a5e174bfc9..f8dd73223d87d6a07f85087e8bf97fd666c0c8d1 100644 --- a/xfg-frame-archetype-lite-infrastructure/pom.xml +++ b/xfg-frame-archetype-lite-infrastructure/pom.xml @@ -18,6 +18,11 @@ org.projectlombok lombok + + org.redisson + redisson-spring-boot-starter + 3.23.4 + cn.bugstack diff --git a/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/dao/IStrategyAwardDao.java b/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/dao/IStrategyAwardDao.java index b2727eaf75446193893c654da21ed6e95efbcf06..67b6bb42ff33dce0f522c32332026e932456629c 100644 --- a/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/dao/IStrategyAwardDao.java +++ b/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/dao/IStrategyAwardDao.java @@ -2,6 +2,7 @@ package cn.bugstack.infrastructure.persistent.dao; import cn.bugstack.infrastructure.persistent.po.StrategyAward; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import java.util.List; @@ -15,4 +16,10 @@ public interface IStrategyAwardDao { List queryStrategyAwardList(); + /** + * 查询策略下的数据 + * @param strategyId + * @return + */ + List queryStrategyAwardListByStrategyId(@Param("strategyId") Long strategyId); } diff --git a/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/redis/IRedisService.java b/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/redis/IRedisService.java new file mode 100644 index 0000000000000000000000000000000000000000..8b4aa04f995e33f80b6b170872d2e79420cfdacf --- /dev/null +++ b/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/redis/IRedisService.java @@ -0,0 +1,250 @@ +package cn.bugstack.infrastructure.persistent.redis; + +import org.redisson.api.*; + +/** + * @description: redisson相关服务 + * @author: hdr + * @PACKAGE_NAME: cn.bugstack.infrastructure.persistent.redis + * @DATE: 2024/4/5 + */ +public interface IRedisService { + + /** + * 设置指定 key 的值 + * + * @param key 键 + * @param value 值 + */ + void setValue(String key, T value); + + /** + * 设置指定 key 的值 + * + * @param key 键 + * @param value 值 + * @param expired 过期时间 + */ + void setValue(String key, T value, long expired); + + /** + * 获取指定 key 的值 + * + * @param key 键 + * @return 值 + */ + T getValue(String key); + + /** + * 获取队列 + * + * @param key 键 + * @param 泛型 + * @return 队列 + */ + RQueue getQueue(String key); + + /** + * 加锁队列 + * + * @param key 键 + * @param 泛型 + * @return 队列 + */ + RBlockingQueue getBlockingQueue(String key); + + /** + * 延迟队列 + * + * @param rBlockingQueue 加锁队列 + * @param 泛型 + * @return 队列 + */ + RDelayedQueue getDelayedQueue(RBlockingQueue rBlockingQueue); + + /** + * 自增 Key 的值;1、2、3、4 + * + * @param key 键 + * @return 自增后的值 + */ + long incr(String key); + + /** + * 指定值,自增 Key 的值;1、2、3、4 + * + * @param key 键 + * @return 自增后的值 + */ + long incrBy(String key, long delta); + + /** + * 自减 Key 的值;1、2、3、4 + * + * @param key 键 + * @return 自增后的值 + */ + long decr(String key); + + /** + * 指定值,自增 Key 的值;1、2、3、4 + * + * @param key 键 + * @return 自增后的值 + */ + long decrBy(String key, long delta); + + + /** + * 移除指定 key 的值 + * + * @param key 键 + */ + void remove(String key); + + /** + * 判断指定 key 的值是否存在 + * + * @param key 键 + * @return true/false + */ + boolean isExists(String key); + + /** + * 将指定的值添加到集合中 + * + * @param key 键 + * @param value 值 + */ + void addToSet(String key, String value); + + /** + * 判断指定的值是否是集合的成员 + * + * @param key 键 + * @param value 值 + * @return 如果是集合的成员返回 true,否则返回 false + */ + boolean isSetMember(String key, String value); + + /** + * 将指定的值添加到列表中 + * + * @param key 键 + * @param value 值 + */ + void addToList(String key, String value); + + /** + * 获取列表中指定索引的值 + * + * @param key 键 + * @param index 索引 + * @return 值 + */ + String getFromList(String key, int index); + + /** + * 获取Map + * + * @param key 键 + * @return 值 + */ + RMap getMap(String key); + + /** + * 将指定的键值对添加到哈希表中 + * + * @param key 键 + * @param field 字段 + * @param value 值 + */ + void addToMap(String key, String field, String value); + + /** + * 获取哈希表中指定字段的值 + * + * @param key 键 + * @param field 字段 + * @return 值 + */ + String getFromMap(String key, String field); + + /** + * 获取哈希表中指定字段的值 + * + * @param key 键 + * @param field 字段 + * @return 值 + */ + V getFromMap(String key, K field); + + /** + * 将指定的值添加到有序集合中 + * + * @param key 键 + * @param value 值 + */ + void addToSortedSet(String key, String value); + + /** + * 获取 Redis 锁(可重入锁) + * + * @param key 键 + * @return Lock + */ + RLock getLock(String key); + + /** + * 获取 Redis 锁(公平锁) + * + * @param key 键 + * @return Lock + */ + RLock getFairLock(String key); + + /** + * 获取 Redis 锁(读写锁) + * + * @param key 键 + * @return RReadWriteLock + */ + RReadWriteLock getReadWriteLock(String key); + + /** + * 获取 Redis 信号量 + * + * @param key 键 + * @return RSemaphore + */ + RSemaphore getSemaphore(String key); + + /** + * 获取 Redis 过期信号量 + *

+ * 基于Redis的Redisson的分布式信号量(Semaphore)Java对象RSemaphore采用了与java.util.concurrent.Semaphore相似的接口和用法。 + * 同时还提供了异步(Async)、反射式(Reactive)和RxJava2标准的接口。 + * + * @param key 键 + * @return RPermitExpirableSemaphore + */ + RPermitExpirableSemaphore getPermitExpirableSemaphore(String key); + + /** + * 闭锁 + * + * @param key 键 + * @return RCountDownLatch + */ + RCountDownLatch getCountDownLatch(String key); + + /** + * 布隆过滤器 + * + * @param key 键 + * @param 存放对象 + * @return 返回结果 + */ + RBloomFilter getBloomFilter(String key); + +} diff --git a/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/redis/RedisService.java b/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/redis/RedisService.java new file mode 100644 index 0000000000000000000000000000000000000000..74352dce82402dbf15bc3512c889c25cadc4d7a8 --- /dev/null +++ b/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/redis/RedisService.java @@ -0,0 +1,161 @@ +package cn.bugstack.infrastructure.persistent.redis; + +import org.redisson.api.*; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import java.time.Duration; + +/** + * @description: redisson 相关服务 + * @author: hdr + * @PACKAGE_NAME: cn.bugstack.infrastructure.persistent.redis + * @DATE: 2024/4/5 + */ +@Service("redissonService") +public class RedisService implements IRedisService { + + @Resource + private RedissonClient redissonClient; + + public void setValue(String key, T value) { + redissonClient.getBucket(key).set(value); + } + + @Override + public void setValue(String key, T value, long expired) { + RBucket bucket = redissonClient.getBucket(key); + bucket.set(value, Duration.ofMillis(expired)); + } + + public T getValue(String key) { + return redissonClient.getBucket(key).get(); + } + + @Override + public RQueue getQueue(String key) { + return redissonClient.getQueue(key); + } + + @Override + public RBlockingQueue getBlockingQueue(String key) { + return redissonClient.getBlockingQueue(key); + } + + @Override + public RDelayedQueue getDelayedQueue(RBlockingQueue rBlockingQueue) { + return redissonClient.getDelayedQueue(rBlockingQueue); + } + + @Override + public long incr(String key) { + return redissonClient.getAtomicLong(key).incrementAndGet(); + } + + @Override + public long incrBy(String key, long delta) { + return redissonClient.getAtomicLong(key).addAndGet(delta); + } + + @Override + public long decr(String key) { + return redissonClient.getAtomicLong(key).decrementAndGet(); + } + + @Override + public long decrBy(String key, long delta) { + return redissonClient.getAtomicLong(key).addAndGet(-delta); + } + + @Override + public void remove(String key) { + redissonClient.getBucket(key).delete(); + } + + @Override + public boolean isExists(String key) { + return redissonClient.getBucket(key).isExists(); + } + + public void addToSet(String key, String value) { + RSet set = redissonClient.getSet(key); + set.add(value); + } + + public boolean isSetMember(String key, String value) { + RSet set = redissonClient.getSet(key); + return set.contains(value); + } + + public void addToList(String key, String value) { + RList list = redissonClient.getList(key); + list.add(value); + } + + public String getFromList(String key, int index) { + RList list = redissonClient.getList(key); + return list.get(index); + } + + @Override + public RMap getMap(String key) { + return redissonClient.getMap(key); + } + + public void addToMap(String key, String field, String value) { + RMap map = redissonClient.getMap(key); + map.put(field, value); + } + + public String getFromMap(String key, String field) { + RMap map = redissonClient.getMap(key); + return map.get(field); + } + + @Override + public V getFromMap(String key, K field) { + return redissonClient.getMap(key).get(field); + } + + public void addToSortedSet(String key, String value) { + RSortedSet sortedSet = redissonClient.getSortedSet(key); + sortedSet.add(value); + } + + @Override + public RLock getLock(String key) { + return redissonClient.getLock(key); + } + + @Override + public RLock getFairLock(String key) { + return redissonClient.getFairLock(key); + } + + @Override + public RReadWriteLock getReadWriteLock(String key) { + return redissonClient.getReadWriteLock(key); + } + + @Override + public RSemaphore getSemaphore(String key) { + return redissonClient.getSemaphore(key); + } + + @Override + public RPermitExpirableSemaphore getPermitExpirableSemaphore(String key) { + return redissonClient.getPermitExpirableSemaphore(key); + } + + @Override + public RCountDownLatch getCountDownLatch(String key) { + return redissonClient.getCountDownLatch(key); + } + + @Override + public RBloomFilter getBloomFilter(String key) { + return redissonClient.getBloomFilter(key); + } + + +} diff --git a/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/repository/StrategyRepository.java b/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/repository/StrategyRepository.java new file mode 100644 index 0000000000000000000000000000000000000000..fc41464014eba7a16b7c29552391b9f1e146df89 --- /dev/null +++ b/xfg-frame-archetype-lite-infrastructure/src/main/java/cn/bugstack/infrastructure/persistent/repository/StrategyRepository.java @@ -0,0 +1,84 @@ +package cn.bugstack.infrastructure.persistent.repository; + +import cn.bugstack.domain.strategy.model.entity.StrategyAwardEntity; +import cn.bugstack.domain.strategy.repository.IStrategyRepository; +import cn.bugstack.infrastructure.persistent.dao.IStrategyAwardDao; +import cn.bugstack.infrastructure.persistent.po.StrategyAward; +import cn.bugstack.infrastructure.persistent.redis.IRedisService; +import cn.bugstack.infrastructure.persistent.redis.RedisService; +import cn.bugstack.types.common.Constants; +import lombok.extern.slf4j.Slf4j; +import org.redisson.misc.Hash; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Repository; +import org.springframework.stereotype.Service; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +/** + * @description: 策略仓储实现 + * @author: hdr + * @PACKAGE_NAME: cn.bugstack.infrastructure.persistent.repository + * @DATE: 2024/4/7 + */ +@Repository +@Slf4j +public class StrategyRepository implements IStrategyRepository { + + @Autowired + private IStrategyAwardDao strategyAwardDao; + + @Autowired + private IRedisService redisService; + @Override + public List queryStrategyAwardList(Long strategy) { + // 1. 查询redis中是否有保存策略数据有的话直接返回 + String cacheKey = Constants.RedisKey.STRATEGY_AWARD_KEY + strategy; + List strategyAwardEntities = redisService.getValue(cacheKey); + if (strategyAwardEntities != null && !strategyAwardEntities.isEmpty()) { + return strategyAwardEntities; + } + + // 2. 没有保存策略数据则查询数据库 + List strategyAwards = strategyAwardDao.queryStrategyAwardListByStrategyId(strategy); + List strategyAwardEntityList = strategyAwards.stream().map(item -> { + StrategyAwardEntity strategyAwardEntity = new StrategyAwardEntity(); + strategyAwardEntity.setStrategyId(item.getStrategyId()); + strategyAwardEntity.setAwardId(item.getAwardId()); + strategyAwardEntity.setAwardCount(item.getAwardCount()); + strategyAwardEntity.setAwardRate(item.getAwardRate()); + strategyAwardEntity.setAwardCountSurplus(item.getAwardCountSurplus()); + return strategyAwardEntity; + }).collect(Collectors.toList()); + + // 2.1 保存到redis中 + redisService.setValue(cacheKey,strategyAwardEntityList); + return strategyAwardEntityList; + } + + @Override + public void storeStrategyAwardSearchRateTables(Long strategyId, Integer rateRange, HashMap shuffleStrategyAwardSearchRateTables) { + // 1. 存储概率值 + redisService.setValue(Constants.RedisKey.STRATEGY_RATE_RANGE_KEY + strategyId, rateRange.intValue()); + + // 2. 存储概率查找表 + Map cacheRateTable = redisService.getMap(Constants.RedisKey.STRATEGY_RATE_TABLE_KEY + strategyId); + cacheRateTable.putAll(shuffleStrategyAwardSearchRateTables); + } + + @Override + public int getRandomAwardId(Long strategyId) { + return redisService.getValue(Constants.RedisKey.STRATEGY_RATE_RANGE_KEY + strategyId); + } + + @Override + public Integer getStrategyAwardAssemble(Long strategyId, int nextInt) { + return redisService.getFromMap(Constants.RedisKey.STRATEGY_RATE_TABLE_KEY + strategyId,nextInt); + } + +} diff --git a/xfg-frame-archetype-lite-types/src/main/java/cn/bugstack/types/common/Constants.java b/xfg-frame-archetype-lite-types/src/main/java/cn/bugstack/types/common/Constants.java index 3e21a0d11d286581ba84b5545c78411809a745e9..008bc32b0ba0ae1a280531c7528f15fd4107ef46 100644 --- a/xfg-frame-archetype-lite-types/src/main/java/cn/bugstack/types/common/Constants.java +++ b/xfg-frame-archetype-lite-types/src/main/java/cn/bugstack/types/common/Constants.java @@ -4,4 +4,11 @@ public class Constants { public final static String SPLIT = ","; + public static class RedisKey { + public static String STRATEGY_AWARD_KEY = "big_market_strategy_award_key_"; + public static String STRATEGY_RATE_TABLE_KEY = "big_market_strategy_rate_table_key_"; + public static String STRATEGY_RATE_RANGE_KEY = "big_market_strategy_rate_range_key_"; + } + + }