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 netbeans.org by Unknown author, 2 years ago
via netbeans.org by Unknown author, 1 year ago
via Oracle Community by 843859, 1 year ago
Access denied for user 'root'@'localhost' (using password: YES) Error Code: 1045
via nabble.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 2 years ago
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Error Code: 0
via Oracle Community by 583535, 1 year ago
Access denied for user ''@'localhost' (using password: YES) Error Code: 1045
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:910)	at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3923)	at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1273)	at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2031)	at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:718)	at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)	at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)	at java.sql.DriverManager.getConnection(DriverManager.java:582)	at java.sql.DriverManager.getConnection(DriverManager.java:154)	at oracle.toplink.essentials.sessions.DefaultConnector.connect(DefaultConnector.java:100)	at oracle.toplink.essentials.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:184)	at oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:582)	at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:280)	at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:229)	at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:93)	at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:126)	at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:120)	at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:91)	at customerrecords.CustomerRecordsView.initComponents(CustomerRecordsView.java:380)	at customerrecords.CustomerRecordsView.(CustomerRecordsView.java:39)	at customerrecords.CustomerRecordsApp.startup(CustomerRecordsApp.java:19)	at org.jdesktop.application.Application$1.run(Application.java:171)	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)