felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arjun Panday <arjun.pan...@alcatel-lucent.com>
Subject Re: Advice for library handling XML marshalling/unmarshalling
Date Mon, 02 Jan 2012 11:01:10 GMT
Hi Jerome,

Have you tried setting
in your felix configuration?

It usually gives a lot more detailed information on class loading issues.

Another classic approach for this kind of third party library is to 
embed it in your own bundle.


On 01/02/2012 11:18 AM, jerome moliere wrote:
> Hi all,
> excuse me for the out of subject , but I 'm facing clever problems of
> Classloaders with a bundle using Castor XML under Felix (works well
> under Equinox)  Have you ever used XStream with your OSGi bundles ?
> For those interested with the error I get a NoClassDefFoundError while
> instantiating an Unmarshaller() , the class not found is SAXException
> and I'm using a 1.6 JDK
> Thanks
> jerome
> J.MOLIERE - Mentor/J
> auteur Eyrolles
> blog: http://romjethoughts.blogspot.com

View raw message