[jdom-interest] Need to help : new user of JDOM
Lalit.Jagtap at ubsw.com
Lalit.Jagtap at ubsw.com
Fri Aug 4 14:37:56 PDT 2000
I successfully completed the build of JDOM. Included the jars
xerces.jar and jom-b4.jar in my classpath.
I am trying to run the PrettyPrinter.java example from the "Java and
XML" book.
I get following error, please help me.
---------------------------------------
C:\JBuilder3\java\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:\JB
uilder3\java\lib\jdkdep.jar;C:\JBuilder3\java\jre\lib\rt.jar;C:\JBuild
er3\java\lib\dt.jar;C:\JBuilder3\java\jre\lib\i18n.jar;C:\JBuilder3\ja
va\lib\tools.jar"
Tutorial.XML.PrettyPrinter C:\javaxml\ch08\contents.xml
AppAccelerator(tm) 1.2.010 for Java (JDK 1.2), x86 version. Copyright
(c) 1997-1999 Inprise Corporation. All Rights Reserved.
org.jdom.JDOMException: null: null
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:229) 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)
Root cause: java.util.EmptyStackException
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:834) 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)
--------------------------------------
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