框架学习

redis 报错WRONGTYPE Operation against a key holding the wrong kind of value

17:56:25.098 [http-nio-8212-exec-1] ERROR n.h.c.s.h.GlobalExceptionHandler - [handleException,51] - 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
    at redis.clients.jedis.Protocol.processError(Protocol.java:132)
    at redis.clients.jedis.Protocol.process(Protocol.java:166)
    at redis.clients.jedis.Protocol.read(Protocol.java:220)
    at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:278)
    at redis.clients.jedis.Connection.getBinaryBulkReply(Connection.java:215)
    at redis.clients.jedis.Connection.getBulkReply(Connection.java:205)
    at redis.clients.jedis.Jedis.rpop(Jedis.java:1179)