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)

symmetricds | gyrem | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Sybase db.driver results in Oracle error msg?

    symmetricds | 6 months ago | gyrem
    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)

    Root Cause Analysis

    1. 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.<clinit>()
    2. Commons DBCP
      BasicDataSource.<clinit>
      1. org.apache.commons.dbcp.BasicDataSource.<clinit>(BasicDataSource.java:57)
      1 frame
    3. org.jumpmind.db
      BasicDataSourceFactory.create
      1. org.jumpmind.db.util.BasicDataSourceFactory.create(BasicDataSourceFactory.java:67)
      1 frame
    4. org.jumpmind.symmetric
      SymmetricAdmin.main
      1. org.jumpmind.symmetric.ClientSymmetricEngine.createBasicDataSource(ClientSymmetricEngine.java:263)
      2. org.jumpmind.symmetric.AbstractCommandLauncher.testConnection(AbstractCommandLauncher.java:393)
      3. org.jumpmind.symmetric.AbstractCommandLauncher.getSymmetricEngine(AbstractCommandLauncher.java:383)
      4. org.jumpmind.symmetric.AbstractCommandLauncher.getSymmetricEngine(AbstractCommandLauncher.java:377)
      5. org.jumpmind.symmetric.SymmetricAdmin.createSymTables(SymmetricAdmin.java:547)
      6. org.jumpmind.symmetric.SymmetricAdmin.executeWithOptions(SymmetricAdmin.java:316)
      7. org.jumpmind.symmetric.AbstractCommandLauncher.execute(AbstractCommandLauncher.java:190)
      8. org.jumpmind.symmetric.SymmetricAdmin.main(SymmetricAdmin.java:139)
      8 frames