ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis E. Collado T." <leduard...@netscape.net>
Subject tomcat-xerces
Date Thu, 05 Sep 2002 21:41:39 GMT
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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message