[jdom-interest] java.lang.NoSuchMethodError

Dinni Bartholomew dbarthol at lexelnet.com
Thu Jul 11 21:43:30 PDT 2002


I just installed jdom, but when i use it to parse an xml file with DTD i 
get the following exception

java.lang.NoSuchMethodError: 
org.xml.sax.Attributes.getRawName(I)Ljava/lang/String;
        at org.jdom.input.SaxHandler.startElement(SAXBuilder.java:317)
        at 
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1295)
        at 
org.apache.xerces.framework.XMLParser.callStartElement(XMLParser.java:1922)
        at 
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1831)
        at 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1223)
        at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:207)
        at 
nu.mine.dinniah.uarei.datahandler.XMLDataReader.read(XMLDataReader.java:34)
        at 
nu.mine.dinniah.uarei.datahandler.XMLDataReader.main(XMLDataReader.java:40)
Exception in thread "main" 

I am using the netbeans IDE and i have both jdom.jar and the xerces.jar 
that is provided with it in the classpath....

Thanks in Advance






More information about the jdom-interest mailing list