Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    spring-data-redis requires redis 2.6+ to work properly.

  2. ,
    Expert tip

    Firewall might be blocking your connection, or MySQL it's not running on your server machine.

Solutions on the web

via GitHub by WonMe
, 1 year ago
Could not get a resource from the pool
via Stack Overflow by user121618
, 3 months ago
Could not get a resource from the pool
via GitHub by tonylau08
, 10 months ago
Could not get a resource from the pool
via GitHub by veludurai106
, 2 years ago
Could not get a resource from the pool
via douban.com by Unknown author, 2 years ago
Could not get a resource from the pool
via zhizhihu.com by Unknown author, 2 years ago
java.net.ConnectException: Connection refused: connect	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at redis.clients.jedis.Connection.connect(Connection.java:184)	at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:93)	at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1767)	at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:106)	at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:868)	at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)	at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)	at redis.clients.util.Pool.getResource(Pool.java:49)	at redis.clients.jedis.JedisPool.getResource(JedisPool.java:226)	at redis.clients.jedis.JedisSlotBasedConnectionHandler.getConnectionFromSlot(JedisSlotBasedConnectionHandler.java:66)	at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:116)	at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:141)	at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:141)	at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:141)	at redis.clients.jedis.JedisClusterCommand.runWithRetries(JedisClusterCommand.java:141)	at redis.clients.jedis.JedisClusterCommand.run(JedisClusterCommand.java:31)	at redis.clients.jedis.JedisCluster.get(JedisCluster.java:124)	at xiwan.RedisCluster.get(RedisCluster.java:104)	at xiwan.RedisCluster.main(RedisCluster.java:120)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)