On Mon, 22 Oct 2001, Nitin Vira wrote:

> Date: Mon, 22 Oct 2001 14:20:55 -0700
> From: Nitin Vira <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Compilation Error when building Tomcat
>
> Hi,
>
> I am trying to build Tomcat 4.0 from source on windows. I am following the steps 
>given in the build.txt.
> when i am doing ant dist, it gives me compilation error for classes related to 
>servlet API saying certain method doesnt exist even though the method is present in 
>the interface.
> for eg it gave me following error
>     [javac] C:\jakarta-tomcat-4.0-rc1-src\catalina\src\share\org\apache\catalina
> \authenticator\FormAuthenticator.java:418: Method getParameterMap() not found in
>  interface javax.servlet.http.HttpServletRequest.
>     [javac]         Map parameters = hreq.getParameterMap();
>     [javac]                                              ^
>
> Could you please help.
>

Since this method was added in Servlet 2.3, the most likely cause is that
you have an old servlet.jar in your compile classpath (or in
$JAVA_HOME/jre/lib/ext).

> Regards,
> Nitin
>

Craig


Reply via email to