tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitin Vira" <>
Subject RE: Compilation Error when building Tomcat
Date Tue, 23 Oct 2001 17:12:43 GMT
Hi Craig,

I figured as much, but i dont quite get from where to get the latest servlet.jar and where
to put and make the ant pick up this jar and not any other.
Thanks once again for your help.


-----Original Message-----
From: Craig R. McClanahan []
Sent: Monday, October 22, 2001 6:24 PM
Subject: Re: Compilation Error when building Tomcat

On Mon, 22 Oct 2001, Nitin Vira wrote:

> Date: Mon, 22 Oct 2001 14:20:55 -0700
> From: Nitin Vira <>
> Reply-To:
> To:
> 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\ 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

> Regards,
> Nitin


View raw message