The error messages imply that the wrong servlet.jar is still being used,
since both of these methods were added in servlet 2.3. Make sure you do
*not* have an old servlet.jar (or j2ee.jar) hanging around on your
CLASSPATH, or in your system extensions directory
($JAVA_HOME/jre/lib/ext).
Craig
On Mon, 24 Sep 2001, tom cat wrote:
> Date: Mon, 24 Sep 2001 04:50:56 +0000
> From: tom cat <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Please help: Method getParameterMap() not found
>
> How can I solve this build error?
>
> RH 7.0, jdk1.3.1_01, Tomcat 4.0 obviously
>
> I'm using this servlet.jar
>
> 76877 Sep 18 12:57 /usr/local/jakarta-servletapi-4/lib/servlet.jar
>
> # ant dist
> ...
> build-main:
> [javac] Compiling 4 source files to
> /usr/local/jakarta-tomcat-4.0-src/catalina/build/classes
> [javac] Compiling 8 source files to
> /usr/local/jakarta-tomcat-4.0-src/catalina/build/classes
> [javac]
>
>/usr/local/jakarta-tomcat-4.0-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] ^
> ..
> [javac]
> /usr/local/jakarta-tomcat-4.0-src/catalina/src/share/org/apache/cata
> lina/session/StandardSessionFacade.java:151: Method getServletContext() not
> found in interface javax.servlet.http.HttpSession.
> [javac] return session.getServletContext();
> [javac] ^
> [javac] Note: 4 files use or override a deprecated API. Recompile with
> "-deprecation" for details.
> [javac] 11 errors, 1 warning
>
> I turned "compile.deprecation=on" in build.properties but it doesn't change
> the error message.
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>