org.osgi.framework.BundleException

tip

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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
    via by Philip May,
  • 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
    via by Philip May,
  • Crash issue
    via GitHub by ambush6
    ,
    • 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

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    66 more bugmates