容器启动项目:Redis command timed out; nested exception is io.lettuce.core.RedisCommandTimeoutException: Command t
解决方案:
- 更改依赖(可百度)可能无效
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<exclusions>
<exclusion>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
</dependency>
2. 检查容器内部时间和服务器时间是否一致