Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException

Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to
java.net.ConnectException: Connection refused: connect

Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException_第1张图片

1.检查redis连接是否正常

Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException_第2张图片

2.检查eureck是否开启,连接是否正常

Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException_第3张图片
仔细检查.yml文件,开启配置连接是否正常。

你可能感兴趣的:(异常,spring,mysql,redis,eureka)