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. ,
    via Stack Overflow by LittlePanda

    To restart the Selenium Webdriver mock browser in a testcase, first use driver.close() and then reinstantiate the driver.

  2. ,
    Expert tip

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

Solutions on the web

via Oracle Community by Pritish Tiwari, 1 year ago
via GitHub by LenCer
, 1 year ago
Connection timed out: connect
via netbeans.org by Unknown author, 1 year ago
via Stack Overflow by DeepK
, 1 year ago
Connection refused: connect
via GitHub by bittusarkar
, 2 years ago
Connection refused: connect
java.net.ConnectException: Connection refused: connect	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)	at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)	at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)	at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)	at java.net.AbstractPlainSocketImpl.connect(Unknown Source)	at java.net.PlainSocketImpl.connect(Unknown Source)	at java.net.SocksSocketImpl.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at sun.net.NetworkClient.doConnect(Unknown Source)	at sun.net.www.http.HttpClient.openServer(Unknown Source)	at sun.net.www.http.HttpClient.openServer(Unknown Source)	at sun.net.www.http.HttpClient.(Unknown Source)	at sun.net.www.http.HttpClient.New(Unknown Source)	at sun.net.www.http.HttpClient.New(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)	at sun.plugin.PluginURLJarFileCallBack.connect(Unknown Source)	at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)	at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)	at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)	at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)	at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)	at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)	at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)	at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)	at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)	at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)	at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)	at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)	at com.sun.deploy.security.DeployURLClassPath$JarLoader.(Unknown Source)	at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)	at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)	at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)	at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)	at sun.plugin2.applet.Plugin2ClassLoader$1.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)	at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)	at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)	at java.lang.ClassLoader.loadClass(Unknown Source)	at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)	at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)	at java.lang.Thread.run(Unknown Source)