Skip to main content



      Home
Home » Eclipse Projects » Equinox » NoClassDefFoundError starting org.eclipse.equinox.registry(NoClassDefFoundError BundleException starting org.eclipse.equinox.registry)
NoClassDefFoundError starting org.eclipse.equinox.registry [message #637945] Tue, 09 November 2010 07:40 Go to next message
Eclipse UserFriend
I am getting this when starting org.eclipse.equinox.registry

java.lang.NoClassDefFoundError: org/osgi/framework/BundleException
at org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.addBundle(EclipseBundleListener.java:177)
at org.eclipse.core.internal.registry.osgi.EclipseBundleListene r.processBundles(EclipseBundleListener.java:90)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .onStart(RegistryStrategyOSGI.java:224)
at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:725)
at org.eclipse.core.runtime.RegistryFactory.createRegistry(Regi stryFactory.java:58)
at org.eclipse.core.internal.registry.osgi.Activator.startRegis try(Activator.java:137)
at org.eclipse.core.internal.registry.osgi.Activator.start(Acti vator.java:56)

My config.ini says:
osgi.bundles=\
org.eclipse.equinox.common@2:start,\
org.eclipse.equinox.concurrent@3:start,\
org.eclipse.core.jobs@3:start,\
org.eclipse.core.runtime@3:start,\
org.eclipse.equinox.registry@3:start,\
org.eclipse.equinox.preferences@3:start,\
org.eclipse.core.contenttype@3:start,\

The System bundle which is org.eclipse.osgi at [0] is exporting org.osgi.framework

The Manifest.MF on org.eclipse.equinox.registry imports org.osgi.framework.

I haven't seen this reported elsewhere.
Does anyone have any ideas on this?

Robert
Re: NoClassDefFoundError starting org.eclipse.equinox.registry [message #637964 is a reply to message #637945] Tue, 09 November 2010 08:51 Go to previous messageGo to next message
Eclipse UserFriend
I have never seen this. It is quite strange because the class org.eclipse.core.internal.registry.osgi.Activator implements org.osgi.framework.BundleActivator so we know that the registry bundle's class loader is able to load some at least some classes from the org.osgi.framework package.

What version of equinox are you using?

Tom.
Re: NoClassDefFoundError starting org.eclipse.equinox.registry [message #637975 is a reply to message #637964] Tue, 09 November 2010 09:07 Go to previous messageGo to next message
Eclipse UserFriend
Tom

Thanks for your reply

I am starting equinox with

java -jar plugins/org.eclipse.osgi_3.6.0.v20100517.jar

and am using

org.eclipse.equinox.registry_3.5.0.v20100503.jar

I have used the property:

org.osgi.framework.system.packages.extra= \

in config.ini

in order to acquire access to some further packages and I also have

eclipse.ignoreApp=true



Robert
Re: NoClassDefFoundError starting org.eclipse.equinox.registry [message #883387 is a reply to message #637975] Fri, 08 June 2012 08:30 Go to previous message
Eclipse UserFriend
Did you ever resolve this?
I am having the exact same problem ...
Previous Topic:How to stop already running OSGi frameworks from IDE
Next Topic:Configuring jetty, support for Thread parameters
Goto Forum:
  


Current Time: Tue Jul 22 18:56:58 EDT 2025

Powered by FUDForum. Page generated in 0.03169 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top