Redis Unable to connect to Redis;Could not get a resource from the pool问题解决
问题描述:org.springframework.data.redis.RedisConnectionFailureException:UnabletoconnecttoRedis;nestedexceptionisorg.springframework.data.redis.connection.PoolException:Couldnotgetaresourcefromthepool;nest
·
问题描述:
org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to localhost:6379
问题分析:
1、Redis没有启动。
解决办法:启动Redis,具体步骤请查看以下博客。
Redis 安装、启动、连接、存储和读取数据
更多推荐
所有评论(0)