NoClassDefFound issue [message #89032] |
Thu, 31 May 2007 13:23 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.05580 seconds