[jdom-interest] what jar am I missing

Ian Lea ian.lea at blackwell.co.uk
Fri Nov 30 01:42:12 PST 2001


I bet you've got other stuff in the classpath as well.
Read the FAQ: http://www.jdom.org/docs/faq.html.

Perhaps you should make a clean start with b7.


--
Ian.
ian.lea at blackwell.co.uk


Nishan_Fonseka at canadalifeus.com wrote:
> 
> 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