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

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 GitHub by ligadata-yousef
, 1 year ago
Could not initialize class com.orientechnologies.orient.core.Orient
java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.Orient
at com.orientechnologies.orient.core.config.OGlobalConfiguration$1.change(OGlobalConfiguration.java:103)
at com.orientechnologies.orient.core.config.OGlobalConfiguration.setValue(OGlobalConfiguration.java:835)
at com.orientechnologies.orient.core.config.OGlobalConfiguration.autoConfigDiskCacheSize(OGlobalConfiguration.java:795)
at com.orientechnologies.orient.core.config.OGlobalConfiguration.autoConfig(OGlobalConfiguration.java:760)
at com.orientechnologies.orient.jdbc.OrientJdbcConnection.(OrientJdbcConnection.java:72)
at com.orientechnologies.orient.jdbc.OrientJdbcDriver.connect(OrientJdbcDriver.java:59)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:208)
at com.ligadata.queryutility.QueryBuilder.getDBConnection(QueryBuilder.scala:75)
at com.ligadata.queryutility.QueryGenerator$.main(QueryGenerator.scala:139)
at com.ligadata.queryutility.QueryGenerator.main(QueryGenerator.scala)

Users with the same issue

You are the first who have seen this exception.

Write tip

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