java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.Orient

GitHub | ligadata-yousef | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    OrientDB connection failure

    GitHub | 7 months ago | ligadata-yousef
    java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.Orient

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class com.orientechnologies.orient.core.Orient

      at com.orientechnologies.orient.core.config.OGlobalConfiguration$1.change()
    2. OrientDB Core
      OGlobalConfiguration.<clinit>
      1. com.orientechnologies.orient.core.config.OGlobalConfiguration$1.change(OGlobalConfiguration.java:103)
      2. com.orientechnologies.orient.core.config.OGlobalConfiguration.setValue(OGlobalConfiguration.java:835)
      3. com.orientechnologies.orient.core.config.OGlobalConfiguration.autoConfigDiskCacheSize(OGlobalConfiguration.java:795)
      4. com.orientechnologies.orient.core.config.OGlobalConfiguration.autoConfig(OGlobalConfiguration.java:760)
      5. com.orientechnologies.orient.core.config.OGlobalConfiguration.<clinit>(OGlobalConfiguration.java:663)
      5 frames
    3. com.orientechnologies.orient
      OrientJdbcDriver.connect
      1. com.orientechnologies.orient.jdbc.OrientJdbcConnection.<init>(OrientJdbcConnection.java:72)
      2. com.orientechnologies.orient.jdbc.OrientJdbcDriver.connect(OrientJdbcDriver.java:59)
      2 frames
    4. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:664)
      2. java.sql.DriverManager.getConnection(DriverManager.java:208)
      2 frames
    5. com.ligadata.queryutility
      QueryGenerator.main
      1. com.ligadata.queryutility.QueryBuilder.getDBConnection(QueryBuilder.scala:75)
      2. com.ligadata.queryutility.QueryGenerator$.main(QueryGenerator.scala:139)
      3. com.ligadata.queryutility.QueryGenerator.main(QueryGenerator.scala)
      3 frames