tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ziying Sherwin <sher...@lhc.nlm.nih.gov>
Subject error building tomcat 4.1.27 from source on solaris
Date Wed, 03 Sep 2003 19:47:33 GMT

We tried to install tomcat 4.1.27 on our Solaris 2.8 platform using j2sdk 1.4.0. 
Unfortunately, the installation does not go very smoothly. After installed lots of
required packages like jmx, jaxp, we finally started tomcat build. The compilation 
failed with the following error messages:

build-only:
    [javac] Compiling 79 source files to /src/tomcat_4.1.27/jasper/build/shared/classes
    [javac] /src/tomcat_4.1.27/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java:71:
package javax.servlet does not exist
    [javac] import javax.servlet.ServletException;
    [javac]                      ^
    [javac] /src/tomcat_4.1.27/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Options.java:66:
package javax.servlet does not exist
    [javac] import javax.servlet.ServletConfig;
    [javac]                      ^
    [javac] /src/tomcat_4.1.27/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/Options.java:67:
package javax.servlet does not exist
    [javac] import javax.servlet.ServletContext;
    [javac]                      ^
    [javac] /src/tomcat_4.1.27/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspCServletContext.java:73:
package javax.servlet does not exist
    [javac] import javax.servlet.RequestDispatcher;
    [javac]                      ^
    [javac] /src/tomcat_4.1.27/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspCServletContext.java:74:
package javax.servlet does not exist
[...]
/src/tomcat_4.1.27/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspUtil.java:105:
cannot resolve symbol
    [javac] symbol  : class ExpressionEvaluatorImpl  
    [javac] location: class org.apache.jasper.compiler.JspUtil
    [javac]     private static ExpressionEvaluatorImpl expressionEvaluator
    [javac]                    ^
    [javac] /src/tomcat_4.1.27/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspUtil.java:627:
cannot resolve symbol
    [javac] symbol  : class FunctionMapper  
    [javac] location: class org.apache.jasper.compiler.JspUtil
    [javac]                                            FunctionMapper functionMapper,
    [javac]                                            ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 100 errors

BUILD FAILED
file:/src/tomcat_4.1.27/jakarta-tomcat-jasper/jasper2/build.xml:127: Compile failed; see the
compiler error output for details.

There is no mentioning of jasper in the BUILDING.txt file. We downloaded the source
code from cvs tree. Is jasper required by tomcat build? If not, is there anyway to 
disable it? Or how can we build jasper from source? Any help will be appreciated.

Ziying Sherwin






Mime
View raw message