启动报redis异常
来源:6-11 单点登录Redis存储Session及SessionId问题说明与集群实战-1
慕粉4192055
2018-01-15
老师您好,我今天在linux部署了redis后,启动时报如下错误,以前redis在win上时都问题,今天突然报一个这样的错,请问怎么回事,谢谢老师。
严重: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/session/data/redis/config/annotation/web/http/RedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is 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
2回答
-
Geely
2018-01-16
你好,同学,看一下这个文章。https://www.cnblogs.com/duyinqiang/p/5696350.html
不知道版本是否和课程保持一致。https://www.2cto.com/kf/201706/644500.html
这两个资料能帮你解决这个问题~
00 -
高27
2018-01-16
看看的防火墙端口开放了没,6379和6380两个端口开没开
042018-01-20
相似问题