Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » NoClassDefFound issue
NoClassDefFound issue [message #89032] Thu, 31 May 2007 13:23 Go to next message
Eclipse UserFriend
Originally posted by: karl.reti.bridgeforward.net

I have an odd issue that only started occurring on M7 and has continued to
RC2. I have a bundle that exposes a service that initializes an MBean
Server.

Under M6 and previous builds this works perfectly fine, on M7 and RC2 I
get the following error

Nested Exception:
java.lang.NoClassDefFoundError: javax/management/MBeanServer
at
com.bf.service.management.jmx.JMXService.initialize(JMXServi ce.java:33)
at com.bf.service.management.jmx.Activator.start(Activator.java :25)
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.s tartActivator(BundleContextImpl.java:993)
at

etc etc

If I take the same code, and run under Equinox M6 its fine, if I run under
Equinox M7 it breaks. I have tried re-compiling under both versions, I
have double checked that there are no differences in the classpath,
config.ini etc and its all the same..

Anyone any ideas ??

Thanks
Karl
Re: NoClassDefFound issue [message #89049 is a reply to message #89032] Thu, 31 May 2007 16:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: karl.reti.bridgeforward.net

Just some additional information on the previous post..

Under M6 I get the following..

id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.0.v20070321
1 ACTIVE org.eclipse.equinox.log_1.0.100.v20070226
2 ACTIVE org.eclipse.osgi.services_3.1.100.v20060918
3 ACTIVE com.bf.service.management.jmx_1.0.0

Very bare bones JMX Management plugin

Under M7 and RC2..

id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.0.v20070523
1 ACTIVE org.eclipse.equinox.log_1.0.100.v20070226
2 ACTIVE org.eclipse.osgi.services_3.1.100.v20060918
3 RESOLVED com.bf.service.management.jmx_1.0.0

The only change has been in org.eclipse.osgi.

Bundle 3 generates the NoClassDefFound error..

Karl
Re: NoClassDefFound issue [message #89088 is a reply to message #89049] Thu, 31 May 2007 17:41 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
This is being tracked here -
https://bugs.eclipse.org/bugs/show_bug.cgi?id=190275

"Karl Reti" <karl.reti@bridgeforward.net> wrote in message
news:dea64374a7c96143d6fd0e64d63fce05$1@www.eclipse.org...
> Just some additional information on the previous post..
>
> Under M6 I get the following..
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.3.0.v20070321
> 1 ACTIVE org.eclipse.equinox.log_1.0.100.v20070226
> 2 ACTIVE org.eclipse.osgi.services_3.1.100.v20060918
> 3 ACTIVE com.bf.service.management.jmx_1.0.0
>
> Very bare bones JMX Management plugin
>
> Under M7 and RC2..
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.3.0.v20070523
> 1 ACTIVE org.eclipse.equinox.log_1.0.100.v20070226
> 2 ACTIVE org.eclipse.osgi.services_3.1.100.v20060918
> 3 RESOLVED com.bf.service.management.jmx_1.0.0
>
> The only change has been in org.eclipse.osgi.
>
> Bundle 3 generates the NoClassDefFound error..
>
> Karl
>
>
Previous Topic:Equinox running cocoon on the server (WEB-INF confusion)
Next Topic:Equinox in clustered server env
Goto Forum:
  


Current Time: Sat Dec 21 14:56:30 GMT 2024

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

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

Back to the top