redis报错io.lettuce.core.RedisCommandTimeoutException: Command timed out after
具体原因不详 就是莫名其妙的,如下办法解决了,排除掉lettuce-core使用jedis
<dependency> <groupId>org.springframework.bootgroupId> <artifactId>spring-boot-starter-data-redisartifactId> <exclusions> <exclusion> <groupId>io.lettucegroupId> <artifactId>lettuce-coreartifactId> exclusion> exclusions> dependency> <dependency> <groupId>redis.clientsgroupId> <artifactId>jedisartifactId> dependency>
原文:https://www.cnblogs.com/hjieone/p/15267202.html