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 Google Groups by sanp, 7 months ago
Connection refused: connect
via mysql.com by Unknown author, 2 years ago
via Coderanch by Prabhat Ranjan, 1 year ago
Connection refused: connect
via jb51.net by Unknown author, 2 years ago
java.net.ConnectException: Connection refused: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:520)	at java.net.Socket.connect(Socket.java:470)	at java.net.Socket.(Socket.java:367)	at java.net.Socket.(Socket.java:209)	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:173)	at com.mysql.jdbc.MysqlIO.(MysqlIO.java:267)	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739)	at com.mysql.jdbc.Connection.(Connection.java:1553)	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)	at java.sql.DriverManager.getConnection(DriverManager.java:525)	at java.sql.DriverManager.getConnection(DriverManager.java:140)	at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)	at org.hibernate.tool.hbm2ddl.ManagedProviderConnectionHelper.prepare(ManagedProviderConnectionHelper.java:28)	at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:180)	at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133)	at org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:112)	at org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:140)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)