Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
常见的异常:
- Redis没有启动
- 防火墙没有关闭
- 调整JedisPoolConfig中maxActive的值
-
jedis: pool: max-active: 500
Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
常见的异常:
jedis:
pool:
max-active: 500