redis服务器版本升级问题

java 复制代码
org.springframework.data.redis.RedisSystemException: Unknown redis exception; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisException: java.lang.UnsupportedOperationExceptionCaused by: io.lettuce.core.RedisException: java.lang.UnsupportedOperationException

升级了redis服务为7.多后报上面那个错误:

解决方法:

java 复制代码
<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>io.lettuce</groupId>
                    <artifactId>lettuce-core</artifactId>
                </exclusion>
                <exclusion>
                    <artifactId>spring-boot-starter-logging</artifactId>
                    <groupId>org.springframework.boot</groupId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>io.lettuce</groupId>
            <artifactId>lettuce-core</artifactId>
            <version>6.1.2.RELEASE</version>
        </dependency>
相关推荐
qq_三哥啊3 小时前
【IDEA】设置Debug调试时调试器不进入特定类(Spring框架、Mybatis框架)
spring·intellij-idea·mybatis
柯南二号5 小时前
【Java后端】Spring Boot 集成 MyBatis-Plus 全攻略
java·spring boot·mybatis
记忆不曾留13 小时前
Mybatis 源码解读-SqlSession 会话源码和Executor SQL操作执行器源码
mybatis·二级缓存·sqlsession会话·executor执行器·一级缓存localcache
鼠鼠我捏,要死了捏14 小时前
生产环境Redis缓存穿透与雪崩防护性能优化实战指南
redis·cache
曾经的三心草18 小时前
微服务的编程测评系统11-jmeter-redis-竞赛列表
redis·jmeter·微服务
努力努力再努力wz19 小时前
【c++深入系列】:万字详解模版(下)
java·c++·redis
2301_7930868720 小时前
Redis 04 Reactor
数据库·redis·缓存
AAA修煤气灶刘哥1 天前
搞定 Redis 不难:从安装到实战的保姆级教程
java·redis·后端
青鱼入云1 天前
redis怎么做rehash的
redis·缓存
考虑考虑1 天前
Redis事务
redis·后端