JedisDataException: WRONGTYPE Operation against a key holding the wrong kind of value
时间: 2023-08-23 17:15:35 浏览: 161
四川省凉山彝族自治州昭觉中学高中英语 Reading and vocabuary The wrong kind of small
回答: JedisDataException: WRONGTYPE Operation against a key holding the wrong kind of value是一个Redis的异常错误。它表示在对一个键执行操作时,该键所持有的值的类型与操作的类型不一致。也就是说,使用了不同类型下的命令,操作了不同类型的数据。比如使用了string的命令,但是操作的是set类型的数据。这个错误通常发生在使用Redis的客户端库Jedis时。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [Redis:WRONGTYPE Operation against a key holding the wrong kind of value](https://blog.csdn.net/Mickle_zhang/article/details/88896428)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [Redis—JedisDataException异常](https://blog.csdn.net/qq_46127735/article/details/113810191)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文