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

Solutions on the web

via sencide.com by Unknown author, 1 year ago
via Coderanch by Aaron Raja, 1 year ago
via concretepage.com by Unknown author, 1 year ago
java.net.ConnectException: Connection refused: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(Unknown Source)	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)	at java.net.PlainSocketImpl.connect(Unknown Source)	at java.net.SocksSocketImpl.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at java.net.Socket.connect(Unknown Source)	at java.net.Socket.(Unknown Source)	at java.net.Socket.(Unknown Source)	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257)	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:294)	at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)	at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:792)	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)	at java.lang.reflect.Constructor.newInstance(Unknown Source)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)	at java.sql.DriverManager.getConnection(Unknown Source)	at java.sql.DriverManager.getConnection(Unknown Source)	at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)	at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160)	at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81)	at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473)	at com.hib.Test.addUser(Test.java:63)	at com.hib.Test.main(Test.java:20)