When i tried to use xerces.jar file and set it to classpath .I get below error when application is ran.
java.lang.VerifyError: (Ljava/lang/String;)Lorg/w3c/dom/Document;) Incompatible object argument for method call
I am using WSAD 5.1.1.
Please let me know any one know the solution for this.
Regards,
Divya
02-01-2007, 02:09 AM
aniseed
It is likely that there is another xerces jar within WSAD which is causing the conflict.
02-01-2007, 02:23 AM
Divya.darshini
now i have removed xerces.jar and included xercesImpl.jar , the above error is removed but now i am getting java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser
and strange thing is , org/apache/xerces/framework/XMLParser is not imported
in any source java file.