Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] java.lang.NoClassDefFoundError: javax/xml/namespace/QName

Hi All,

I need to QName class from J2SE1.5. When I call this through my bundle I get thejava.lang.NoClassDefFoundError: javax/xml/namespace/QName exception. I have set the Bundle-RequiredExecutionEnvironment: J2SE and I am using J2SE 1.5_08. I am using org.eclipse.osgi_3.3.2.R33x_v20080105.

I managed get this the bundle work in a embedded environment but not standalone. I even tried

java -jar $JAVA_OPTS -Dorg.osgi.service.http.port=8080 -Dosgi.parentClassloader=ext -Dosgi.contextClassLoaderParent=ext org.eclipse.osgi_3.3.2.R33x_v20080105.jar -console

but it didn't work.

Is there any particular reason why Equinox treated QName class differently.

Thank you!

Saminda

Thank you!

Saminda

--
Saminda Abeyruwan

Senior Software Engineer
WSO2 Inc. - www.wso2.org

Back to the top