tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunam...@aol.com
Subject New Developer, error compiling tomcat 4.1.7
Date Thu, 08 Aug 2002 15:06:15 GMT
I am getting the following error when compiling tomcat 4.1.7:

build-main:
[javac] Compiling 28 source files to /home/agandhi/jakarta-tomcat-4.1.7-src/jasper/build/shared/classes
[javac] /home/agandhi/jakarta-tomcat-4.1.7-src/jasper/src/share/org/apache/j
asper/compiler/Compiler.java:285: cannot resolve symbol
[javac] symbol : method setCompiler (java.lang.String)
[javac] location: class org.apache.tools.ant.taskdefs.Javac
[javac] javac.setCompiler(options.getCompiler());
[javac] ^
[javac] /home/agandhi/jakarta-tomcat-4.1.7-src/jasper/src/share/org/apache/j
asper/JspC.java:422: cannot resolve symbol
[javac] symbol : method getClasspath ()
[javac] location: class org.apache.tools.ant.AntClassLoader
[javac] ((org.apache.tools.ant.AntClassLoader)parent).getCla
sspath();
[javac] ^
[javac] Note: /home/agandhi/jakarta-tomcat-4.1.7-src/jasper/src/share/org/ap
ache/jasper/servlet/JspCServletContext.java uses or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 2 errors


I am using ant 1.5 as required for this version of tomcat.

Although even after downloading binary and src versions of ant 1.5 whenever I do: /usr/local/jakarta-ant-1.5/bin/ant
-version it gives this:
Ant version 1.4.1 compiled on October 11 2001


Can anybody please help me with this. I am trying this for a couple of days now.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message