redis WRONGTYPE Operation against a key holding the wrong kind of value
redis.clients.jedis.exceptions.JedisDataException: WRONGTYPE Operation against a key holding the wrong kind of value今天改动代码,一运行就跑错了,错误原因: 因为redis中已经存在了相同的key, 而且key对应的值类型并不是Set,而是SortSet(改动前
原创
2017-03-03 16:49:37 ·
3261 阅读 ·
0 评论