tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iain McClure" <i...@stuntbaboon.com>
Subject Re: error building tomcat 4.1.27 from source on solaris
Date Wed, 03 Sep 2003 21:45:01 GMT
Sounds like your missing the servlet.jar with the servlet API classes in it.
I had a similar problem building mod_jk2 from a source download as it
doesn't include it.

However, I've not had this problem building Tomcat 4.1.27 on RedHat.

You could try downloading the relevant servlet.jar separately ?


Iain.


----- Original Message -----
From: "Ziying Sherwin" <sherwin@lhc.nlm.nih.gov>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, September 03, 2003 8:47 PM
Subject: error building tomcat 4.1.27 from source on solaris


>
> 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
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message