[jdom-interest] Need to help : new user of JDOM
Wu, Charlie
cwu at netfish.com
Fri Aug 4 16:01:10 PDT 2000
I just had this problem a few days ago.. you have to include
build/classes in your classpath too
Charlie
-----Original Message-----
From: Lalit.Jagtap at ubsw.com [mailto:Lalit.Jagtap at ubsw.com]
Sent: Friday, August 04, 2000 2:38 PM
To: jdom-interest at jdom.org
Subject: [jdom-interest] Need to help : new user of JDOM
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.
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list