java.lang.NoClassDefFoundError: com/sleepycat/je/EnvironmentConfig

GitHub | AceLee39 | 6 months ago
  1. 0

    Exception in thread "main" java.lang.NoClassDefFoundError: com/sleepycat/je/EnvironmentConfig

    GitHub | 6 months ago | AceLee39
    java.lang.NoClassDefFoundError: com/sleepycat/je/EnvironmentConfig
  2. 0

    If I build the Java Broker from Maven, then try and start the Broker from the artefact at broker/target/qpid-broker-0.30-SNAPSHOT-bin.tar.gz, I find the Broker fails to start with the following exception: {noformat} Exception during startup: java.lang.NoClassDefFoundError: com/sleepycat/je/rep/StateChangeListener java.lang.NoClassDefFoundError: com/sleepycat/je/rep/StateChangeListener at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods( at java.lang.Class.getDeclaredMethods( at org.apache.qpid.server.model.ConfiguredObjectTypeRegistry.process( at org.apache.qpid.server.model.ConfiguredObjectTypeRegistry.<clinit>( at org.apache.qpid.server.model.AbstractConfiguredObjectTypeFactory.getCategoryClass( at org.apache.qpid.server.model.ConfiguredObjectFactoryImpl.<init>( at org.apache.qpid.server.model.BrokerModel.<init>( at org.apache.qpid.server.model.BrokerModel.<clinit>( at org.apache.qpid.server.model.SystemContextImpl.<init>( (snip) at org.apache.qpid.server.Main.main( Caused by: java.lang.ClassNotFoundException: at$ at$ at Method) {noformat} The problem is that the Broker now introspects the whole model on startup, this discovery process encounters the classes within qpid-bdbstore-*.jar, which then fails owing to the fact that the (BDB) je.jar cannot be found. BDB JE itself is intentionally omitted from the broker release artifact (provided scope) owing to license constraints. We either need to make the COTR tolerant to such exceptions (perhaps logging a message) and/or change the packaging so that qpid-bdbstore-*.jar is excluded from the default artefact.

    Apache's JIRA Issue Tracker | 3 years ago | Keith Wall
    java.lang.NoClassDefFoundError: com/sleepycat/je/rep/StateChangeListener
  3. 0

    bulk-loading performance

    Oracle Community | 7 years ago | 713106
    java.lang.NoClassDefFoundError: com/sleepycat/je/dbi/INList$Iter
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error 500--Internal Server Error | Oracle Community | 1 year ago
    java.lang.NoClassDefFoundError: com/sleepycat/collections/StoredIterator
  6. 0

    Exception in thread "main" java.lang.NoClassDefFoundError:

    Oracle Community | 1 decade ago | 843810
    java.lang.NoClassDefFoundError: simpleContainer (wron g name: com/sleepycat/dbxml/examples/gettingStarted/simpleContainer)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError


      1 frame