如异常,Redis无法创建连接,会导致整个项目无法启动,有什么办法可以避免?
ERROR [restartedMain] org.springframework.boot.SpringApplication [856] -| Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisLettuceAutoInit' defined in class path resource [com/alicp/jetcache/autoconfigure/RedisLettuceAutoConfiguration.class]: Invocation of init method failed; nested exception is io.lettuce.core.RedisConnectionException: Unable to establish a connection to Redis Cluster
如异常,Redis无法创建连接,会导致整个项目无法启动,有什么办法可以避免? ERROR [restartedMain] org.springframework.boot.SpringApplication [856] -| Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisLettuceAutoInit' defined in class path resource [com/alicp/jetcache/autoconfigure/RedisLettuceAutoConfiguration.class]: Invocation of init method failed; nested exception is io.lettuce.core.RedisConnectionException: Unable to establish a connection to Redis Cluster