Hi all,

My application uses a library (JTidy) that has an embedded version of
org.xml.sax different from Felix one


24.01.2011 16:44:49.820 *ERROR* [127.0.0.1 [1295883888648] GET
/content/david/2010/08/31/firststeps.pdf HTTP/1.1]
org.apache.sling.servlets.
resolver.internal.SlingServletResolver Original error class
java.lang.LinkageError java.lang.LinkageError: loader constraint violation:
when
 resolving overridden method
"org.apache.fop.fo.FOTreeBuilder.fatalError(Lorg/xml/sax/SAXParseException;)V"
the class loader (instance of or
g/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current class,
org/apache/fop/fo/FOTreeBuilder, and its superclass loader (ins
tance of <bootloader>), have different Class objects for the type
org/xml/sax/SAXParseException used in the signature
        at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101)

Is there a way to tell my bundle that it must use org.xml.sax.* from the
provided library?
Cheers

-- 
Federico Paparoni

Blog -- http://fpaparoni.wordpress.com/
Twitter --  http://twitter.com/fpaparoni

Reply via email to