2
回答
JedisConnectionException: Could not get a resource from the pool
开发十年,就只剩下这套Java开发体系了   

Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
    at redis.clients.util.Pool.getResource(Pool.java:53)
    at redis.clients.jedis.JedisPool.getResource(JedisPool.java:226)
    at com.imooc.redis.RedisClient.<init>(RedisClient.java:30)
    at com.imooc.redis.Main.main(Main.java:9)
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused: connect
    at redis.clients.jedis.Connection.connect(Connection.java:207)
    at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:93)

<无标签>
举报
天池番薯
发帖于1周前 2回/16阅
顶部