[2022-07-07 16:06:40.182] [INFO ] [SWTraceId - TID: N/A] [] [me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor] - distributeRemote - instanceId:[InstanceId{instanceId=172.28.25.39:7, stable=false}] - machineBit:[10] @ namespace:[xxxx-service].
[2022-07-07 16:06:40.300] [WARN ] [SWTraceId - TID: N/A] [] [org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryConfiguration$EmbeddedTomcat': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.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.beans.factory.BeanCreationException: Error creating bean with name 'shareSnowflakeId' defined in class path resource [me/ahoo/cosid/spring/boot/starter/snowflake/CosIdSnowflakeAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [me.ahoo.cosid.snowflake.SnowflakeId]: Factory method 'shareSnowflakeId' threw exception; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: ERR bad lua script for redis cluster, all the keys that the script uses should be passed using the KEYS array, and KEYS should not be in expression. channel: [id: 0x7f4f67ec, L:/172.28.25.39:43428 - R:r-bp1usnu4324n3247.redis.rds.aliyuncs.com/12.9.0.43:579] command: (EVAL), params: [[45, 45, 32, 105, 116, 99, 95, 105, 100, 120, ...], 1, [123, 112, 105, 109, 115, 45, 102, 105, 110, 97, ...], [49, 55, 50
, 46, 50, 56, 46, 50, 53, 46, ...], [49, 48, 50, 51], [49, 54, 53, 55, 49, 56, 49, 50, 48, 48, ...], [49, 54, 53, 55, 49, 56, 48, 57, 48, 48, ...]]; nested exception is org.redisson.client.RedisException: ERR bad lua script for redis cluster, all the keys that the script uses should be passed using the KEYS array, and KEYS should not be in expression. channel: [id: 0x7f4f67ec, L:/172.28.25.39:43428 - R:r-adsadsadsad.redis.rds.aliyuncs.com/12.9.0.1213:349] command: (EVAL), params: [[45, 45, 32, 105, 116, 99, 95, 105, 100, 120, ...], 1, [123, 112, 105, 109, 115, 45, 102, 105, 110, 97, ...], [49, 55, 50, 46, 50, 56, 46, 50, 53, 46, ...], [49, 48, 50, 51], [49, 54, 53, 55, 49, 56, 49, 50, 48, 48, ...], [49, 54, 53, 55, 49, 56, 48, 57, 48, 48, ...]]
[2022-07-07 16:06:40.345] [WARN ] [SWTraceId - TID: N/A] [] [org.springframework.context.annotation.CommonAnnotationBeanPostProcessor] - Destroy method on bean with name 'lifecycleBootstrap' threw an exception: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'redisClientFactory': 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!)
[2022-07-07 16:06:40.357] [INFO ] [SWTraceId - TID: N/A] [] [org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener] -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
[2022-07-07 16:06:40.361] [ERROR] [SWTraceId - TID: N/A] [] [org.springframework.boot.SpringApplication] - Application run failed