RE: [Ikvm-developers] NoSuchMethodError Exception when running App using xerces.
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2005-01-14 08:40:03
|
Richard Louapre wrote: > I got this exception when I try to run an java application=20 > using xerces : >=20 > [16:47:11.71926 main] java.lang.NoSuchMethodError: > org.w3c.dom.ls.DOMImplementationLS.createDOMSerializer()Lorg.w > 3c.dom.ls.DOMSerializer; > at org.apache.xerces.dom.CoreDocumentImpl.saveXML(Lorg.w3c > .dom.No de;)Ljava.lang.String; >=20 > It seems that the DOMImplementationLS has this method with the correct > signature. So ? The GNU JAXP version of DOMImplementationLS that IKVM now includes doesn't have this method (in fact, it looks nothing like the DOMImplementationLS interface on w3c page). I don't know why this is or what this means. Note that it doesn't matter that Xerces includes a correct version of the interface, since IKVM already has the interface in its core classes, you cannot replace it (well, actually, you can but you'd have to play some class loader games (i.e. write a class loader that violates the rules)). Regards, Jeroen |