org.osgi.framework.BundleException: Exception in org.springframework.osgi.internal.extender.ContextLoaderListener.start() of bundle org.springframework.osgi.spring-osgi-extender.

Spring JIRA | Philip May | 9 years ago
  1. 0

    The osgi-externder bundle needs "org.aopalliance.aop" as "Import-Package" in the "MANIFEST.MF. It it is not added and you dont have the "ogr.springframework.osgi.aopalliance.osgi" bundle installed this happens: 856 RESOLVED org.springframework.osgi.spring-osgi-extender_1.0.0.m3 osgi> diag 856 initial@reference:file:../../develop/spring-dm/spring-osgi-extender/ [856] No unresolved constraints. osgi> start 856 11.10.2007 10:35:59 org.springframework.osgi.internal.extender.ContextLoaderListener start INFO: Starting org.springframework.osgi.extender bundle v.[1.0.0.m3] org.osgi.framework.BundleException: Exception in org.springframework.osgi.internal.extender.ContextLoaderListener.start() of bundle org.springframework.osgi.spring-osgi-extender. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252) at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:150) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:291) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:276) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:218) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.springframework.osgi.internal.context.support.BundleDelegatingClassLoader.class$(BundleDelegatingClassLoader.java:49) at org.springframework.osgi.internal.context.support.BundleDelegatingClassLoader.createBundleClassLoaderFor(BundleDelegatingClassLoader.java:52) at org.springframework.osgi.internal.extender.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:68) at org.springframework.osgi.internal.extender.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63) at org.springframework.osgi.internal.extender.support.NamespacePlugins.addHandler(NamespacePlugins.java:96) at org.springframework.osgi.internal.extender.support.NamespaceManager.addHandler(NamespaceManager.java:123) at org.springframework.osgi.internal.extender.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:105) at org.springframework.osgi.internal.extender.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:559) at org.springframework.osgi.internal.extender.ContextLoaderListener.start(ContextLoaderListener.java:331) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993) ... 14 more Nested Exception: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice

    Spring JIRA | 9 years ago | Philip May
    org.osgi.framework.BundleException: Exception in org.springframework.osgi.internal.extender.ContextLoaderListener.start() of bundle org.springframework.osgi.spring-osgi-extender.
  2. 0

    The osgi-externder bundle needs "org.aopalliance.aop" as "Import-Package" in the "MANIFEST.MF. It it is not added and you dont have the "ogr.springframework.osgi.aopalliance.osgi" bundle installed this happens: 856 RESOLVED org.springframework.osgi.spring-osgi-extender_1.0.0.m3 osgi> diag 856 initial@reference:file:../../develop/spring-dm/spring-osgi-extender/ [856] No unresolved constraints. osgi> start 856 11.10.2007 10:35:59 org.springframework.osgi.internal.extender.ContextLoaderListener start INFO: Starting org.springframework.osgi.extender bundle v.[1.0.0.m3] org.osgi.framework.BundleException: Exception in org.springframework.osgi.internal.extender.ContextLoaderListener.start() of bundle org.springframework.osgi.spring-osgi-extender. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252) at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:150) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:291) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:276) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:218) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.springframework.osgi.internal.context.support.BundleDelegatingClassLoader.class$(BundleDelegatingClassLoader.java:49) at org.springframework.osgi.internal.context.support.BundleDelegatingClassLoader.createBundleClassLoaderFor(BundleDelegatingClassLoader.java:52) at org.springframework.osgi.internal.extender.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:68) at org.springframework.osgi.internal.extender.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63) at org.springframework.osgi.internal.extender.support.NamespacePlugins.addHandler(NamespacePlugins.java:96) at org.springframework.osgi.internal.extender.support.NamespaceManager.addHandler(NamespaceManager.java:123) at org.springframework.osgi.internal.extender.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:105) at org.springframework.osgi.internal.extender.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:559) at org.springframework.osgi.internal.extender.ContextLoaderListener.start(ContextLoaderListener.java:331) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993) ... 14 more Nested Exception: java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice

    Spring JIRA | 9 years ago | Philip May
    org.osgi.framework.BundleException: Exception in org.springframework.osgi.internal.extender.ContextLoaderListener.start() of bundle org.springframework.osgi.spring-osgi-extender.
  3. 0

    Failing to create new PoolingHttpClientConnectionManager

    Stack Overflow | 3 years ago | user2816029
    java.lang.NoClassDefFoundError: org/apache/http/config/Lookup
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash issue

    GitHub | 3 years ago | ambush6
    java.lang.NoClassDefFoundError: cpw/mods/fml/common/IPlayerTracker
  6. 0

    Client Crash in dev environment with required mods

    GitHub | 2 years ago | nike4613
    java.lang.NoClassDefFoundError: mcp/mobius/waila/api/IWailaDataProvider

  1. rlovtangen 2 times, last 1 week ago
  2. serious2monkeys 1 times, last 1 week ago
  3. rp 1 times, last 2 weeks ago
  4. malhobayyeb 3 times, last 2 weeks ago
  5. kjhdofjosvs 23 times, last 3 weeks ago
5 more registered users
90 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.NoClassDefFoundError

    org/aopalliance/aop/Advice

    at java.lang.Class.forName0()
  2. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Unknown Source)
    2 frames
  3. org.springframework.osgi
    ContextLoaderListener.start
    1. org.springframework.osgi.internal.context.support.BundleDelegatingClassLoader.class$(BundleDelegatingClassLoader.java:49)
    2. org.springframework.osgi.internal.context.support.BundleDelegatingClassLoader.createBundleClassLoaderFor(BundleDelegatingClassLoader.java:52)
    3. org.springframework.osgi.internal.extender.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:68)
    4. org.springframework.osgi.internal.extender.support.NamespacePlugins$Plugin.<init>(NamespacePlugins.java:63)
    5. org.springframework.osgi.internal.extender.support.NamespacePlugins.addHandler(NamespacePlugins.java:96)
    6. org.springframework.osgi.internal.extender.support.NamespaceManager.addHandler(NamespaceManager.java:123)
    7. org.springframework.osgi.internal.extender.support.NamespaceManager.maybeAddNamespaceHandlerFor(NamespaceManager.java:105)
    8. org.springframework.osgi.internal.extender.ContextLoaderListener.maybeAddNamespaceHandlerFor(ContextLoaderListener.java:559)
    9. org.springframework.osgi.internal.extender.ContextLoaderListener.start(ContextLoaderListener.java:331)
    9 frames
  4. Eclipse OSGi
    BundleContextImpl$2.run
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
    1 frame
  5. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  6. Eclipse OSGi
    FrameworkCommandProvider._start
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
    5. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:252)
    6. org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:260)
    6 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  8. Eclipse OSGi
    FrameworkConsole.run
    1. org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:150)
    2. org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:291)
    3. org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:276)
    4. org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:218)
    4 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame