You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Luis E. Collado T." <le...@netscape.net> on 2002/09/05 23:41:39 UTC
tomcat-xerces
Hi, I have tried to installing the followings package on Red Hat Linux 7.3:
jakarta-ant-1.5-src.tar.gz
jakarta-servletapi-4-20020821.tar.gz
jakarta-tomcat-4.0.4-src.tar.gz
jaxp-1_2_0-scsl.zip
jdk-1_2_2_007-linux-i386.tar.gz
jsse-1_0_3-gl.zip
but i have the following error when i run ./bootstrap.sh:
... Bootstrapping Ant Distribution
... Compiling Ant Classes
... Failed compiling Ant classes !
src/main/org/apache/tools/ant/util/JAXPUtils.java:146: Method
getXMLReader()
not found in class javax.xml.parsers.SAXParser.
return newSAXParser().getXMLReader();
^
src/main/org/apache/tools/ant/util/JAXPUtils.java:147: Exception
org.xml.sax.SAXException is never thrown in the body of the
corresponding try
statement.
} catch (SAXException e) {
^
src/main/org/apache/tools/ant/types/XMLCatalog.java:456: Method
getXMLReader()
not found in class javax.xml.parsers.SAXParser.
reader = spFactory.newSAXParser().getXMLReader();
^
src/main/org/apache/tools/ant/taskdefs/XmlProperty.java:189: Method
hasAttributes() not found in interface org.w3c.dom.Node.
if (node.hasAttributes()) {
^
src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java:170:
Method
getXMLReader() not found in class javax.xml.parsers.SAXParser.
XMLReader reader =
spFactory.newSAXParser().getXMLReader();
^
Note: 6 files use or override a deprecated API. Recompile with
"-deprecation"
for details.
any can help me?
Thanks
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>