Originally posted by Anirvan Majumdar:
Hello everyone,
I have a servlet class which receives data entered by the user on the UI front and then it creates an instance of another class file (an XML Parser class). However, when the parser class is instantiated WebSphere throws an error which reads as follows :
[Servlet Error]-[(class: xmlParse/ParseXMLUsingDom, method: readXML signature: ()Ljava/lang/String;) Incompatible object argument for method call]: java.lang.VerifyError: (class: xmlParse/ParseXMLUsingDom, method: readXML signature: ()Ljava/lang/String Incompatible object argument for method call
Any and all help regarding this problem would be very welcome. I am using WSAD v 5.0.0
We had a similar problem with WASD, and ended up taking the jdom.jar files out of our WASD directories. I know there has to be a better way than that, but we didn't know it at the time. Now, when we deploy the thing, we get the same error. I think the problem can be solved by adjusting the build path and the order in which jars are loaded.
If you were to load the real jdom.jar (not WASDs) first, you shouldn't have a problem. Please let me know if this works, cause I'd like to try the same thing!