springboot 连接redis报错 nested exception is redis.clients.jedis.exceptions.JedisConnectionException 左手的ㄟ右手 2022-04-11 14:48 697阅读 0赞 报错信息如下: 严重: Servlet.service() for servlet \[dispatcherServlet\] in context with path \[\] threw exception \[Request processing 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\] with root cause 因为虚拟机里 linux 系统上的 ip 地址变了,springboot 里的配置文件忘记改了。 输入\[root@localhost bin\]\# ip addr 查看 ip 地址 改掉配置文件就行了 spring.redis.host=
还没有评论,来说两句吧...