Redis(二)-报错

1.redisDB持久化问题

redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at
…
Caused by: java.util.NoSuchElementException: Unable to validate object at
…

 应该是redisDB持久化问题,修改redis.windows.conf,添加

dir /tmp/redis_data
dbfilename temp.rdb

  

原文地址:https://www.cnblogs.com/zhang20190701/p/13365753.html