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>
相关推荐
小菜yh7 分钟前
关于Redis
java·数据库·spring boot·redis·spring·缓存
ggdpzhk13 分钟前
Mybatis 快速入门(maven)
oracle·maven·mybatis
小安运维日记3 小时前
Linux云计算 |【第四阶段】NOSQL-DAY1
linux·运维·redis·sql·云计算·nosql
码农郁郁久居人下8 小时前
Redis的配置与优化
数据库·redis·缓存
Hsu_kk9 小时前
Redis 主从复制配置教程
数据库·redis·缓存
DieSnowK9 小时前
[Redis][环境配置]详细讲解
数据库·redis·分布式·缓存·环境配置·新手向·详细讲解
史努比.9 小时前
redis群集三种模式:主从复制、哨兵、集群
前端·bootstrap·html
Java小白笔记10 小时前
关于使用Mybatis-Plus 自动填充功能失效问题
spring boot·后端·mybatis
计算机学姐14 小时前
基于SpringBoot+Vue的篮球馆会员信息管理系统
java·vue.js·spring boot·后端·mysql·spring·mybatis
程序员大金14 小时前
基于SpringBoot+Vue+MySQL的智能物流管理系统
java·javascript·vue.js·spring boot·后端·mysql·mybatis