網(wǎng)站首頁(yè) 編程語(yǔ)言 正文
Redis - Redis command timed out nested exception is io.lettuce.core.RedisCommandTimeoutException
作者:YXWik6 更新時(shí)間: 2022-02-18 編程語(yǔ)言Redis - Redis command timed out nested exception is io.lettuce.core.RedisCommandTimeoutException
這個(gè)問(wèn)題應(yīng)該是我在將SpringBoot1.X升級(jí)到2.X的時(shí)候產(chǎn)生的版本問(wèn)題。
原pom中的redis依賴(lài)
更改為
<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>
之后就沒(méi)報(bào)錯(cuò)了
原文鏈接:https://blog.csdn.net/YXWik/article/details/120353975
相關(guān)推薦
- 2024-04-05 idea使用docker生成鏡像(打包鏡像,導(dǎo)入鏡像,導(dǎo)出鏡像)
- 2022-08-13 在配置mybatis時(shí)報(bào)找不到xml文件,或者xml找不到對(duì)應(yīng)方法的坑
- 2022-06-06 Kafka在Zookeeper中存儲(chǔ)的信息有哪些?
- 2022-07-03 C#并行編程之PLINQ(并行LINQ)_C#教程
- 2022-09-18 GO語(yǔ)言原生實(shí)現(xiàn)文件上傳功能_Golang
- 2022-02-18 Zabbix Database error
- 2022-12-27 K8S集群范圍使用imagePullSecret示例詳解_云和虛擬化
- 2022-08-13 深入理解Linux內(nèi)核select多路復(fù)用原理
- 最近更新
-
- window11 系統(tǒng)安裝 yarn
- 超詳細(xì)win安裝深度學(xué)習(xí)環(huán)境2025年最新版(
- Linux 中運(yùn)行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲(chǔ)小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎(chǔ)操作-- 運(yùn)算符,流程控制 Flo
- 1. Int 和Integer 的區(qū)別,Jav
- spring @retryable不生效的一種
- Spring Security之認(rèn)證信息的處理
- Spring Security之認(rèn)證過(guò)濾器
- Spring Security概述快速入門(mén)
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權(quán)
- redisson分布式鎖中waittime的設(shè)
- maven:解決release錯(cuò)誤:Artif
- restTemplate使用總結(jié)
- Spring Security之安全異常處理
- MybatisPlus優(yōu)雅實(shí)現(xiàn)加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務(wù)發(fā)現(xiàn)-Nac
- Spring Security之基于HttpR
- Redis 底層數(shù)據(jù)結(jié)構(gòu)-簡(jiǎn)單動(dòng)態(tài)字符串(SD
- arthas操作spring被代理目標(biāo)對(duì)象命令
- Spring中的單例模式應(yīng)用詳解
- 聊聊消息隊(duì)列,發(fā)送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠(yuǎn)程分支