org.osgi.framework.BundleException: Activator start error in bundle com.test.basic.servlet [10].

Oracle Community | dboltri | 7 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    Embed Apache Felix in a Web Application

    Oracle Community | 7 years ago | dboltri
    org.osgi.framework.BundleException: Activator start error in bundle com.test.basic.servlet [10].
  2. 0

    NetBeans Forums - Can not deploy Simple EJB-Modul – Fresh installation

    netbeans.org | 10 months ago
    java.lang.RuntimeException: EJB Container initialization error
  3. 0
    samebug tip
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
  6. 0
    samebug tip
    This was caused by a failure to instantiate Kafka broker. Check your dependencies.
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

    javax.servlet.Servlet

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    5 frames
  3. Apache Felix Framework
    ExtensionManager$ExtensionManagerModule.getClassByDelegation
    1. org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:670)
    1 frame
  4. Pax Runner
    R4Wire.getClass
    1. org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:108)
    1 frame
  5. Apache Felix Framework
    ModuleImpl$ModuleClassLoader.loadClass
    1. org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1370)
    2. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:683)
    3. org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
    4. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1656)
    4 frames
  6. Java RT
    Class.newInstance
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    2. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    3. java.lang.Class.getDeclaredConstructors0(Native Method)
    4. java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    5. java.lang.Class.getConstructor0(Class.java:2699)
    6. java.lang.Class.newInstance0(Class.java:326)
    7. java.lang.Class.newInstance(Class.java:308)
    7 frames
  7. Apache Felix Framework
    BundleImpl.start
    1. org.apache.felix.framework.Felix.createBundleActivator(Felix.java:3520)
    2. org.apache.felix.framework.Felix.activateBundle(Felix.java:1695)
    3. org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
    4. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
    5. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
    5 frames
  8. Apache Felix File Install
    DirectoryWatcher.run
    1. org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
    2. org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
    3. org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
    4. org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
    5. org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
    5 frames