org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
1.设置超时时间
2.关闭虚拟机防火墙 ,service iptables stop
3.网络原因(需要设置代理)
4.ip 错误
5.需要注释掉redis.conf中的bind 127.0.0.1代码。