java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator

coderanch.com | 5 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    unable to deploy my simple spring project with glassfish in intelliJ

    Coderanch | 3 years ago | A. Aka
    java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
  3. 0

    Glassfish server wont start after I close Netbeans

    Stack Overflow | 2 years ago | Luzo
    java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator
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.ClassNotFoundException

    org.osgi.framework.BundleActivator not found by org.glassfish.main.core.glassfish [101]

    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation()
  2. Apache Felix Framework
    BundleWiringImpl$BundleClassLoader.loadClass
    1. org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460)
    2. org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)
    3. org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)
    3 frames
  3. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    2. java.lang.ClassLoader.defineClass1(Native Method)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:752)
    3 frames
  4. Apache Felix Framework
    BundleWiringImpl$BundleClassLoader.loadClass
    1. org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2128)
    2. org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1432)
    3. org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72)
    4. org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843)
    4 frames
  5. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    1 frame
  6. Apache Felix Framework
    FrameworkStartLevelImpl.run
    1. org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1317)
    2. org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4170)
    3. org.apache.felix.framework.Felix.activateBundle(Felix.java:1972)
    4. org.apache.felix.framework.Felix.startBundle(Felix.java:1895)
    5. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
    6. org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
    6 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:724)
    1 frame