出现错误 redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool

  写代码的时候出现 :redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool 开始以为是大数据项目,分布式环境pool会不同步,后面发现是jedis对象的问题,在初始化的过程中使用了static关键字,导致 只有一个jedis对象   在代码使用的时候finally关闭 je
相关文章
相关标签/搜索