java.lang.NoClassDefFoundError: Could not initialize class oracle.jdbc.OracleDriver at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:375) at java.sql.DriverManager.isDriverAllowed(java.sql@9-internal/DriverManager.java:576) at java.sql.DriverManager.isDriverAllowed(java.sql@9-internal/DriverManager.java:568) at java.sql.DriverManager.getDrivers(java.sql@9-internal/DriverManager.java:467) at java.sql.DriverManager.getDrivers(java.sql@9-internal/DriverManager.java:444)

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 symmetricds by gyrem
, 1 year ago
Could not initialize class oracle.jdbc.OracleDriver at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:375) at java.sql.DriverManager.isDriverAllowed(java.sql@9-internal
java.lang.NoClassDefFoundError: Could not initialize class oracle.jdbc.OracleDriver at java.lang.Class.forName0(java.base@9-internal/Native Method) at java.lang.Class.forName(java.base@9-internal/Class.java:375) at java.sql.DriverManager.isDriverAllowed(java.sql@9-internal/DriverManager.java:576) at java.sql.DriverManager.isDriverAllowed(java.sql@9-internal/DriverManager.java:568) at java.sql.DriverManager.getDrivers(java.sql@9-internal/DriverManager.java:467) at java.sql.DriverManager.getDrivers(java.sql@9-internal/DriverManager.java:444)
at org.apache.commons.dbcp.BasicDataSource.(BasicDataSource.java:57)
at org.jumpmind.db.util.BasicDataSourceFactory.create(BasicDataSourceFactory.java:67)
at org.jumpmind.symmetric.ClientSymmetricEngine.createBasicDataSource(ClientSymmetricEngine.java:263)
at org.jumpmind.symmetric.AbstractCommandLauncher.testConnection(AbstractCommandLauncher.java:393)
at org.jumpmind.symmetric.AbstractCommandLauncher.getSymmetricEngine(AbstractCommandLauncher.java:383)
at org.jumpmind.symmetric.AbstractCommandLauncher.getSymmetricEngine(AbstractCommandLauncher.java:377)
at org.jumpmind.symmetric.SymmetricAdmin.createSymTables(SymmetricAdmin.java:547)
at org.jumpmind.symmetric.SymmetricAdmin.executeWithOptions(SymmetricAdmin.java:316)
at org.jumpmind.symmetric.AbstractCommandLauncher.execute(AbstractCommandLauncher.java:190)
at org.jumpmind.symmetric.SymmetricAdmin.main(SymmetricAdmin.java:139)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.