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.
It is likely that there is another xerces jar within WSAD which is causing the conflict.
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.
i dont know why this error is coming