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

Oracle Community | toomanyryans | 5 years ago
  1. 0

    Using embedded GF 3.1.1 for unit testing

    Oracle Community | 5 years ago | chris.joelly
    java.lang.NoClassDefFoundError: org/osgi/framework/ServiceException
  2. 0

    Too many dependencies?

    GitHub | 2 years ago | nunobrito
    java.lang.NoClassDefFoundError: org/hamcrest/Matcher
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    KRYO-2.22 not working in OSGI KARAF

    GitHub | 2 years ago | saviour23
    org.osgi.framework.BundleException: Activator start error in bundle PMED_Cluster.TestCollector [127].
  5. 0

    Can't start jboss server; NoClassDefFoundError: com/tibco/tibrv/TibrvException

    Stack Overflow | 2 years ago
    java.lang.NoClassDefFoundError: com/tibco/tibrv/TibrvException

  1. andyglick 4 times, last 3 months ago
17 unregistered visitors
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.ServiceException

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.getDeclaredConstructor
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    7. java.lang.ClassLoader.defineClass1(Native Method)
    8. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    9. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    10. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    11. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    12. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    13. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    14. java.security.AccessController.doPrivileged(Native Method)
    15. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    16. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    17. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    18. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    19. java.lang.Class.getDeclaredConstructors0(Native Method)
    20. java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    21. java.lang.Class.getConstructor0(Class.java:2699)
    22. java.lang.Class.getDeclaredConstructor(Class.java:1985)
    22 frames
  3. Weld Implementation
    WeldBootstrap.startInitialization
    1. org.jboss.weld.util.ServiceLoader.prepareInstance(ServiceLoader.java:271)
    2. org.jboss.weld.util.ServiceLoader.loadService(ServiceLoader.java:238)
    3. org.jboss.weld.util.ServiceLoader.loadServiceFile(ServiceLoader.java:194)
    4. org.jboss.weld.util.ServiceLoader.reload(ServiceLoader.java:157)
    5. org.jboss.weld.util.ServiceLoader.iterator(ServiceLoader.java:346)
    6. org.jboss.weld.bootstrap.ExtensionBeanDeployer.addExtensions(ExtensionBeanDeployer.java:93)
    7. org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:340)
    7 frames
  4. Embedded GlassFish Web
    WeldDeployer.event
    1. org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:168)
    1 frame
  5. Kernel Classes
    EventsImpl.send
    1. org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
    1 frame
  6. Private APIs of Glassfish
    ApplicationInfo.load
    1. org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:270)
    1 frame
  7. Kernel Classes
    ApplicationLifecycle.deploy
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
    2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
    2 frames
  8. Embedded GlassFish Web
    DeployCommand.execute
    1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)
    1 frame
  9. Kernel Classes
    CommandRunnerImpl$ExecutionContext.execute
    1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
    2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
    3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)
    4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
    5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)
    6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)
    6 frames
  10. admin-cli
    DeployerImpl.deploy
    1. com.sun.enterprise.admin.cli.embeddable.CommandExecutorImpl.executeCommand(CommandExecutorImpl.java:147)
    2. com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:99)
    2 frames
  11. ca.jptech.itma
    Bootstrap.main
    1. ca.jptech.itma.container.ContainerServiceImpl.start(ContainerServiceImpl.java:24)
    2. ca.jptech.itma.container.Bootstrap.main(Bootstrap.java:7)
    2 frames