tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tom cat" <tomcat4...@hotmail.com>
Subject Please help: Method getParameterMap() not found
Date Mon, 24 Sep 2001 04:50:56 GMT
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


Mime
View raw message