I'm not sure if this fits your environment, but you can do the
following, if you're using Eclipse. Go into server configurations,
select Paths and add the xerces jar that you want to use in the "prepend
to classpath" box.

Ron


-----Original Message-----
From: Graham Cruse [mailto:[email protected]] 
Sent: Thursday, June 11, 2009 9:00 AM
To: [email protected]
Subject: CXF and Xerces

Hi all,

I am having a issue in setting up my development/testing environment
with a CXF endpoint deployed to Tomcat:

java.lang.AbstractMethodError: 
org.apache.xerces.dom.DeferredDocumentImpl.setXmlStandalone(Z)V
    at
org.apache.cxf.transport.http.WSDLQueryHandler.updateDoc(WSDLQueryHandle
r.java:261)
    at
org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHa
ndler.java:210)
    ...

If the WAR is built, deployed and then run from the command line, then
there are no problems, this is only occurring in the development setup
where it seems to be picking up an old version of xerces. Is there any
simple way to avoid this issue via configuration (other than trying to
correct the classpath used by the plugin)?

Thanks

Graham

Reply via email to