Howdym
You don't have servlet.jar on your classpath.

Why not just download the tomcat binary?  You don't need to build it
yourself, we've already done that for you ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Ziying Sherwin [mailto:[EMAIL PROTECTED]
>Sent: Monday, September 08, 2003 2:06 PM
>To: [EMAIL PROTECTED]
>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.j
ava:
>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.j
ava:
>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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to