[jdom-interest] java.lang.NoSuchMethodError: org.xml.sax.Attributes.getQName
Lalit.Jagtap at ubsw.com
Lalit.Jagtap at ubsw.com
Mon Aug 7 07:53:56 PDT 2000
Hey folks,
I am getting following exception while usng PrettyPrinter.java I am
using JDK1.2.2, Apache xerces with JDOM (jdom-b4-src.zip)
======================================================================
C:\jdk1.2.2\bin\javaw.exe -classpath
"C:\JBuilder3\myclasses;C:\jdom\lib\xerces.jar;C:\JBuilder3\dependency
\~Xerces;C:\jdom\build\jdom-b4.jar;C:\JBuilder3\dependency\~JDOM;C:\jd
k1.2.2\jre\lib\rt.jar;C:\jdk1.2.2\jre\lib\i18n.jar;C:\jdk1.2.2\lib\dt.
jar;C:\jdk1.2.2\lib\tools.jar;C:\JBuilder3\dependency\~javaversion1.2.
2"
Tutorial.XML.PrettyPrinter c:\javaxml\ch08\contents.xml
Warning: JIT compiler "javacomp" not found. Will use interpreter.
java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
getQName(I)Ljava/lang/String; not found
at org.jdom.input.SAXHandler.startElement(SAXBuilder.java:471)
at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1289)
at
org.apache.xerces.framework.XMLParser.callStartElement(XMLParser.java:
1922)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocument
Scanner.java:1831)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispa
tch(XMLDocumentScanner.java:991)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSc
anner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:218)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:284)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:265)
at Tutorial.XML.PrettyPrinter.main(PrettyPrinter.java:75)
Exception in thread "main"
======================================================================
Thanks, Lalit
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
More information about the jdom-interest
mailing list