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 Stack Overflow by shazin
, 1 year ago
Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalAccessError: tried to access field sun.security.ssl.Handshaker.algorithmConstraints from class sun.security.ssl.ClientHandshaker
via GitHub by ruchikagarg23
, 7 months ago
Failed to instantiate [org.apache.tomcat.jdbc.pool.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver
via Stack Overflow by alemale
, 1 year ago
Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSourceLookup' threw exception; nested exception is org.springframework.jdbc.datasource.lookup.DataSourceLookupFailureException: Failed to look up JNDI DataSource with name 'java:comp
via Stack Overflow by Dyip302
, 2 years ago
Failed to instantiate [org.springframework.security.acls.jdbc.LookupStrategy]: Circular reference involving containing bean 'webSecurityACL' - consider declaring the factory method as static for independence from its containing instance. Factory method 'lookupStrategy' threw exception; nested exception is java.lang.IllegalArgumentException: DataSource required
via Stack Overflow by vamsi-vegi
, 1 year ago
Failed to instantiate [javax.management.MBeanServer]: Factory method 'mbeanServer' threw exception; nested exception is org.springframework.jmx.MBeanServerNotFoundException: Could not access WebSphere's AdminServiceFactory.getMBeanFactory/getMBeanServer method; nested exception is java.lang.NullPointerException
via Stack Overflow by Sven S.
, 1 year ago
Failed to instantiate [javax.persistence.EntityManagerFactory]: Factory method 'entityManagerFactory' threw exception; nested exception is java.lang.IllegalStateException: Cannot apply class transformer without LoadTimeWeaver specified
java.lang.IllegalAccessError: tried to access field sun.security.ssl.Handshaker.algorithmConstraints from class sun.security.ssl.ClientHandshaker	at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:778)	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:285)	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:969)	at sun.security.ssl.Handshaker.process_record(Handshaker.java:904)	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)	at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1618)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1323)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)	at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)	at com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnectionInternal(SQLServerDataSource.java:621)	at com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnection(SQLServerDataSource.java:57)	at com.zaxxer.hikari.pool.BaseHikariPool.addConnection(BaseHikariPool.java:373)	at com.zaxxer.hikari.pool.BaseHikariPool.initializeConnections(BaseHikariPool.java:469)	at com.zaxxer.hikari.pool.BaseHikariPool.(BaseHikariPool.java:162)	at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:61)	at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:49)	at com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:78)