Hello Everyone
I am new in kXML. I am trying to read a XML file from my computer disk not from any server.
I am trying to read the file using - InputStream is=getClass().getResourceAsStream("NewsXML.xml");
I am using kxml2-2.3.0 , JBuilder 2006, Sun WTK 2.5.2
I have added the kxml2-2.3.0 jar file in my project lib folder. Then linked it using Panths-> Required Libraries->Add of JBuilder editor.
If i debug the code it shows the following error message at line KXmlParser parser = new KXmlParser();
"Error verifying method org/kxml2/io/KXmlParser <init>()V
Approximate bytecode offset 65: Inconsistent or missing stackmap at target
ALERT: java/lang/VerifyError: org/kxml2/io/KXmlParser."
Please help me.

Reply With Quote

