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>
相关推荐
刘~浪地球1 小时前
Redis 从入门到精通(十):管道技术
数据库·redis·缓存
x***r1518 小时前
RedisStudio-en-0.1.5可视化管理工具安装步骤详解(附Redis可视化与Key管理教程)
redis
IGAn CTOU8 小时前
PHP使用Redis实战实录2:Redis扩展方法和PHP连接Redis的多种方案
开发语言·redis·php
iNgs IMAC10 小时前
redis 使用
数据库·redis·缓存
java1234_小锋11 小时前
Java高频面试题:如何编写一个MyBatis插件?
java·开发语言·mybatis
刘~浪地球12 小时前
Redis 从入门到精通(八):有序集合操作详解
数据库·chrome·redis
fe7tQnVan12 小时前
MyBatis-动态sql与高级映射
数据库·sql·mybatis
qq12_81151751514 小时前
Java Web 影城会员管理系统系统源码-SpringBoot2+Vue3+MyBatis-Plus+MySQL8.0【含文档】
java·前端·mybatis
必胜刻14 小时前
Redis分布式锁讲解
数据库·redis·分布式
slarymusic14 小时前
redis的下载和安装详解
数据库·redis·缓存