java.lang.NoClassDefFoundError: java/lang/AutoCloseable

nabble.com | 9 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

    Karaf - Dev - Java 6 support broken in Karaf 3.0.x

    nabble.com | 9 months ago
    java.lang.NoClassDefFoundError: java/lang/AutoCloseable
  2. 0

    GLASSFISH 3 DOMAIN SERVICE ERROR

    Stack Overflow | 3 years ago | DES
    java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
  3. 0

    GitHub comment 2573#158913924

    GitHub | 2 years ago | srs
    java.lang.NoClassDefFoundError: com/enonic/xp/script/bean/ScriptBean
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to create Hello World site

    GitHub | 2 years ago | Tmarty
    java.lang.NoClassDefFoundError: com/enonic/xp/script/bean/ScriptBean
  6. 0

    apache karaf faild to load web bundle

    Stack Overflow | 1 year ago | WestFarmer
    java.lang.NoClassDefFoundError: javax/servlet/Filter
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

    java/lang/AutoCloseable

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    3 frames
  3. Apache Felix Framework
    BundleWiringImpl$BundleClassLoader.loadClass
    1. org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2279)
    2. org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
    3. org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
    4. org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
    4 frames
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    1 frame
  5. Apache Aries Blueprint Core
    BlueprintExtender.addingBundle
    1. org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.createSchema(NamespaceHandlerRegistryImpl.java:603)
    2. org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.doGetSchema(NamespaceHandlerRegistryImpl.java:458)
    3. org.apache.aries.blueprint.namespace.NamespaceHandlerRegistryImpl$NamespaceHandlerSetImpl.getSchema(NamespaceHandlerRegistryImpl.java:443)
    4. org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:343)
    5. org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:276)
    6. org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)
    7. org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)
    8. org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)
    9. org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)
    10. org.apache.aries.blueprint.container.BlueprintExtender.addingBundle(BlueprintExtender.java:218)
    10 frames
  6. Apache Aries Util
    RecursiveBundleTracker.open
    1. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerAdding(BundleHookBundleTracker.java:487)
    2. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerAdding(BundleHookBundleTracker.java:433)
    3. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.trackAdding(BundleHookBundleTracker.java:749)
    4. org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.trackInitial(BundleHookBundleTracker.java:674)
    5. org.apache.aries.util.tracker.hook.BundleHookBundleTracker.open(BundleHookBundleTracker.java:159)
    6. org.apache.aries.util.tracker.RecursiveBundleTracker.open(RecursiveBundleTracker.java:106)
    6 frames
  7. Apache Aries Blueprint Core
    BlueprintExtender$2.serviceFound
    1. org.apache.aries.blueprint.container.BlueprintExtender$2.serviceFound(BlueprintExtender.java:119)
    1 frame
  8. Apache Aries Util
    SingleServiceTracker.open
    1. org.apache.aries.util.tracker.SingleServiceTracker.update(SingleServiceTracker.java:174)
    2. org.apache.aries.util.tracker.SingleServiceTracker.findMatchingReference(SingleServiceTracker.java:132)
    3. org.apache.aries.util.tracker.SingleServiceTracker.open(SingleServiceTracker.java:100)
    3 frames
  9. Apache Aries Blueprint Core
    BlueprintExtender.start
    1. org.apache.aries.blueprint.container.BlueprintExtender.start(BlueprintExtender.java:137)
    1 frame
  10. Apache Felix Framework
    FrameworkStartLevelImpl.run
    1. org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
    2. org.apache.felix.framework.Felix.activateBundle(Felix.java:2146)
    3. org.apache.felix.framework.Felix.startBundle(Felix.java:2064)
    4. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
    5. org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
    5 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame