<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<blockquote TYPE=CITE> </blockquote>
<p><br>Hey Kevin,
<p>I had this same problem. If you look through the archives you
will see the thread, the title of the thread is "Troubles building JDOM
version". Philip solved the mystery.
<p>In my case the reason the build failed was due to the JAXP package I
installed from Sun. I added the JAXP jar files to the jre/lib/ext
dir under my JDK and this was causing the JAXP jar files to be found before
the JDOM files during compilation (the two distributions have common files,
namely DocumentType).
<p>Anyway, removing those jars from the extensions directory cleared up
my problem. If you do not have this problem, check your classpath,
if you have it set, to ensure there are no conflicting files that may be
found in the classpath before finding the correct files in the JDOM distribution.
<p>Hope this helps,
<br>Ryan
<br>
<br>
<blockquote TYPE=CITE>Message: 2
<br>From: Kevin Broderick <KBroderick@emg.ie>
<br>To: jdom-interest@jdom.org
<br>Date: Tue, 25 Jul 2000 16:08:14 +0100
<br>charset="iso-8859-1"
<br>Subject: [jdom-interest] Build errors:
<p>Hi,
<br>When I execute the batch file "build.bat" after I set the JAVA_HOME
<br>variable,
<br>I get this error:
<p>----------- Java Document Object Model (JDOM) 1.0beta4 [2000] ------------
<br>Executing Target: prepare
<br>Created dir: D:\java\jdom\jdom\build
<br>Executing Target: prepare-src
<br>Created dir: D:\java\jdom\jdom\build\src
<br>Created dir: D:\java\jdom\jdom\build\classes
<br>Copying 31 files to D:\java\jdom\jdom\build\src
<br>Executing Target: compile
<br>Compiling 31 source files to D:\java\jdom\jdom\build\classes
<br>D:\java\jdom\jdom\build\src\org\jdom\input\DOMBuilder.java:316: Method
<br>getPublicId() not found in interface org.w3c.dom.DocumentType.
<br>
String publicID = domDocType.getPublicId();
<br>
^
<br>D:\java\jdom\jdom\build\src\org\jdom\input\DOMBuilder.java:317: Method
<br>getSystemId() not found in interface org.w3c.dom.DocumentType.
<br>
String systemID = domDocType.getSystemId();
<p>What do I need to do to get this to compile.Someone on the list a few
days
<br>ago suggested commenting out some code, that helped the compile
<br>but the samples don't compile then, so I ask again, please save my
sanity,
<br>any ideas about how to get this to compile and improve my flagging
<br>morale.
<br>Many thanks,
<br>Kev
<br> </blockquote>
<pre>--
Ryan O'Connell
Sun Microsystems, Inc.
1 Network Drive
PO Box 4003
Burlington, MA. 01803-0903
Email : ryan.oconnell@sun.com
Phone : 781.442.2658
Fax : 781.442.1646
Mailstop: ubur03-405</pre>
</html>