[jdom-interest] what jar am I missing

Nishan_Fonseka at canadalifeus.com Nishan_Fonseka at canadalifeus.com
Thu Nov 29 15:19:28 PST 2001


I am using beta6 and has been using it without a problem in WebSphere.
Infact this code runs fine in visualage but when I try to run it as
standalone program I get this error. I have xerces.jar and jdom.jar in the
classpath. Thanks


Nishan

java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
getQName(I)Ljava/lang/Strin
g; not found
        at org.jdom.input.SAXHandler.startElement(SAXHandler.java:264)
        at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1294)
        at
org.apache.xerces.framework.XMLParser.callStartElement(XMLParser.java:1922)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
r.java:1831)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:991)
        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:395)
        at org.jdom.input.SAXBuilder.build(SAXBuilder.java:499)
        at
com.canadalifeus.leverage.log.MQLogReceiver.getDocument(MQLogReceiver.java:1
62)
        at
com.canadalifeus.leverage.log.MQLogReceiver.process(MQLogReceiver.java:292)
        at
com.canadalifeus.leverage.log.MQLogReceiver.run(MQLogReceiver.java:220)




More information about the jdom-interest mailing list