[jdom-interest] Trouble Building JDOM b6 on NT
GB/DEV - Philip Nelson
philip.nelson at omniresources.com
Tue Mar 6 21:12:46 PST 2001
Take a look at the FAQ. These problems are *almost always* because you
have an older (or different) version of the org.w3c.* classes in your
classpath. Since ant reported the classpath, I would suspect it's in
jre/lib/ext.
Good luck!
-----Original Message-----
From: Grant Mc Auley
To: jdom-interest at jdom.org
Sent: 3/6/01 7:37 PM
Subject: [jdom-interest] Trouble Building JDOM b6 on NT
When trying to build JDOM beta 6 I get the below output on my NT
machine:
Has anyone seen this error before?
//////////////////////////////////////////
/////////////////////////////////////////
C:\jdom-b6>build
JDOM Build System
-------------------
Building with classpath
C:\jdk1.3\lib\tools.jar;.\lib\xerces.jar;.\lib\ant.jar;
Starting Ant...
Buildfile: build.xml
init:
----------- JDOM 1.0beta6 [2000] ------------
prepare:
prepare-src:
collections:
compile:
[javac] Compiling 2 source files to C:\jdom-b6\build\classes
[javac]
C:\jdom-b6\build\src\org\jdom\input\DOMBuilder.java:403: Method
getLocalName() not found
in interface org.w3c.dom.Node.
[javac] String localName =
node.getLocalName();
[javac] ^
[javac]
C:\jdom-b6\build\src\org\jdom\input\DOMBuilder.java:404: Method
getPrefix() not found in
interface org.w3c.dom.Node.
[javac] String prefix = node.getPrefix();
[javac] ^
[javac]
C:\jdom-b6\build\src\org\jdom\input\DOMBuilder.java:405: Method
getNamespaceURI() not fo
und in interface org.w3c.dom.Node.
[javac] String uri = node.getNamespaceURI();
[javac] ^
[javac]
C:\jdom-b6\build\src\org\jdom\input\DOMBuilder.java:446: Method
getPrefix() not found in
interface org.w3c.dom.Attr.
[javac] prefix = att.getPrefix();
[javac] ^
[javac]
C:\jdom-b6\build\src\org\jdom\input\DOMBuilder.java:447: Method
getNamespaceURI() not fo
und in interface org.w3c.dom.Attr.
[javac] uri = att.getNamespaceURI();
[javac] ^
[javac]
C:\jdom-b6\build\src\org\jdom\input\DOMBuilder.java:448: Method
getLocalName() not found
in interface org.w3c.dom.Attr.
[javac] String localname =
att.getLocalName();
[javac]
^
[javac]
C:\jdom-b6\build\src\org\jdom\input\DOMBuilder.java:517: Method
getPublicId() not found
in interface org.w3c.dom.DocumentType.
[javac] String publicID =
domDocType.getPublicId();
[javac]
^
[javac]
C:\jdom-b6\build\src\org\jdom\input\DOMBuilder.java:518: Method
getSystemId() not found
in interface org.w3c.dom.DocumentType.
[javac] String systemID =
domDocType.getSystemId();
[javac]
^
[javac]
C:\jdom-b6\build\src\org\jdom\output\DOMOutputter.java:268: Method
createElementNS(java.
lang.String, java.lang.String) not found in interface
org.w3c.dom.Document.
[javac]
domDoc.createElementNS(element.getNamespaceURI(),
[javac] ^
[javac]
C:\jdom-b6\build\src\org\jdom\output\DOMOutputter.java:325: Method
setAttributeNS(java.l
ang.String, java.lang.String, java.lang.String) not found in
interface org.w3c.dom.Element.
[javac]
domElement.setAttributeNS(attribute.getNamespaceURI(),
[javac] ^
[javac]
C:\jdom-b6\build\src\org\jdom\output\DOMOutputter.java:419: Method
createAttributeNS(jav
a.lang.String, java.lang.String) not found in interface
org.w3c.dom.Document.
[javac] domAttr =
domDoc.createAttributeNS(attribute.getNamespaceURI(),
[javac] ^
[javac] 11 errors
BUILD FAILED
build.xml:144: Compile failed
Total time: 2 seconds
C:\jdom-b6>
//////////////////////////////////////////
/////////////////////////////////////////
Thank You,
Grant Mc Auley
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@you
rhost.com
More information about the jdom-interest
mailing list