当我尝试从Java spring项目中在Redis db中保留某些内容时,出现以下错误。
嵌套在org.springframework.data.redis.RedisConnectionFailureException中:无法获取Jedis连接。嵌套的异常是redis.clients.jedis.exceptions.JedisConnectionException:无法从池中获取资源
有没有人遇到过同样的错误?有可用的解决方案吗?
提前致谢。
最佳答案
Redis服务器已正常关闭。只需重新启动redis-server。
关于spring - 获取RedisConnectionFailureException,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/17407157/