redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:53)

时间:2021-07-13 17:28:09

解决方法1:

主要就是要去redis的配置文件中修改密码,修改完密码后记得重启redis。跟着作者的步骤走,可以完美解决!

解决方法2:

在配置文件中把password去除一样可以解决!

1.把redis配置文件中的password注释了

redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:53)

2.把spring-redis中的passwrod配置也注释了

redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:53)

 

参考:https://blog.csdn.net/iw1210/article/details/72428824