Cannot use Jedis when in Multi. Please use Transation or reset jedis state.
时间:2024-03-24 14:19:58
1.Exception in thread "main" redis.clients.jedis.exceptions.JedisDataException: Cannot use Jedis when in Multi. Please use Transation or reset jedis state. at redis.clients.jedis.BinaryJedis.checkIsInMultiOrPipeline(BinaryJedis.java:1758) at redis.clients.jedis.Jedis.set(Jedis.java:119)
at springboot.redis.TranRedis.main(TranRedis.java:11)