redis报错io.lettuce.core.RedisCommandTimeoutException: Command timed out after

具体原因不详 就是莫名其妙的,如下办法解决了,排除掉lettuce-core使用jedis

<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>
原文地址:https://www.cnblogs.com/hjieone/p/15267202.html