tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Saegesser" <marc.saeges...@apropos.com>
Subject RE: 3.2b7 Fails to Compile on WinNT4.0
Date Mon, 13 Nov 2000 21:39:50 GMT
I had the same problem until I realiazed that I didn't have the tomcat_32
branch of jakarta-servletapi.

cvs co -r tomcat_32 jakarta-servletapi



-----Original Message-----
From: Pierre Delisle [mailto:pierre.delisle@sun.com]
Sent: Monday, November 13, 2000 3:28 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: 3.2b7 Fails to Compile on WinNT4.0


Looks like it is not picking up the proper servlet.jar.

If I compile with the 2.3 servlet.jar, I get the same compilation
errors as you do...

	-- Pierre



raimee@ca.ibm.com wrote:
>
> Hello,
>
> I am trying to build 3.2b7 for Windows.
>
> Using
> WindowsNT 4.0 SP5
> suns jdk1.3,
> jaxp v.1.01
> servlet.jar 2.2
>
> here is the output of the compile:
> ____________________________
>
> Searching for build.xml ...
> Buildfile: D:\Tomcat\jakarta-tomcat-3.2-b7-src\build.xml
>
> prepare:
>     [mkdir] Created dir: D:\Tomcat\build\tomcat
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\bin
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\classes
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\conf
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\doc
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\lib
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\lib\test
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\lib\test\Golden
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\logs
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\src
>     [mkdir] Created dir: D:\Tomcat\build\tomcat\webapps
>      [copy] Copying 14 files to D:\Tomcat\build\tomcat\bin
>      [copy] Copying 16 files to D:\Tomcat\build\tomcat\conf
>      [copy] Copying 1 files to D:\Tomcat\build\tomcat\conf
>      [copy] Copying 36 files to D:\Tomcat\build\tomcat\doc
>      [copy] Copying 1 files to D:\Tomcat\build\tomcat
>      [copy] Copying 1 files to D:\Tomcat\build\tomcat\lib
>      [copy] Copying 36 files to D:\Tomcat\build\tomcat\lib\test\Golden
>
> tomcat:
>     [javac] Compiling 216 source files to D:\Tomcat\build\tomcat\classes
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\jasper\runtime\JspF
actoryImpl.java:93:
>
> class org.apache.jasper.runtime.PageContextImpl is an abstract class. It
> can't be instantiated.
>     [javac]         if( pc == null ) pc= new PageContextImpl(this);
>     [javac]                              ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\jasper\runtime\JspF
actoryImpl.java:95:
>
> class org.apache.jasper.runtime.PageContextImpl is an abstract class. It
> can't be instantiated.
>     [javac]         pc =  new PageContextImpl(this);
>     [javac]               ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\jasper\runtime\Page
ContextImpl.java:101:
>
> class org.apache.jasper.runtime.PageContextImpl must be declared abstract.
> It does not define void handlePageException(java.lang.Throwable) from
class
> javax.servlet.jsp.PageContext.
>     [javac] public class PageContextImpl extends PageContext {
>     [javac]              ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\HttpS
ervletRequestFacade.java:83:
>
> class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
> abstract. It does not define java.util.Map getParameterMap() from
interface
> javax.servlet.ServletRequest.
>     [javac] final class HttpServletRequestFacade implements
> HttpServletRequest {
>     [javac]             ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\HttpS
ervletRequestFacade.java:83:
>
> class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
> abstract. It does not define java.lang.StringBuffer getRequestURL() from
> interface javax.servlet.http.HttpServletRequest.
>     [javac] final class HttpServletRequestFacade implements
> HttpServletRequest {
>     [javac]             ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\HttpS
ervletRequestFacade.java:83:
>
> class org.apache.tomcat.facade.HttpServletRequestFacade must be declared
> abstract. It does not define void setCharacterEncoding(java.lang.String)
> from interface javax.servlet.ServletRequest.
>     [javac] final class HttpServletRequestFacade implements
> HttpServletRequest {
>     [javac]             ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\HttpS
ervletResponseFacade.java:84:
>
> class org.apache.tomcat.facade.HttpServletResponseFacade must be declared
> abstract. It does not define void resetBuffer() from interface
> javax.servlet.ServletResponse.
>     [javac] final class HttpServletResponseFacade  implements
> HttpServletResponse
>     [javac]             ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\Servl
etContextFacade.java:82:
>
> class org.apache.tomcat.facade.ServletContextFacade must be declared
> abstract. It does not define java.util.Set getResourcePaths() from
> interface javax.servlet.ServletContext.
>     [javac] final class ServletContextFacade implements ServletContext {
>     [javac]             ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\Servl
etContextFacade.java:82:
>
> class org.apache.tomcat.facade.ServletContextFacade must be declared
> abstract. It does not define java.lang.String getServletContextName() from
> interface javax.servlet.ServletContext.
>     [javac] final class ServletContextFacade implements ServletContext {
>     [javac]             ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\Simpl
eFacadeManager.java:103:
>
> class org.apache.tomcat.facade.ServletContextFacade is an abstract class.
> It can't be instantiated.
>     [javac]    return new ServletContextFacade(ctx.getContextManager() ,
> ctx);
>     [javac]           ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\Simpl
eFacadeManager.java:109:
>
> class org.apache.tomcat.facade.HttpServletRequestFacade is an abstract
> class. It can't be instantiated.
>     [javac]    return new HttpServletRequestFacade(req);
>     [javac]           ^
>     [javac]
>
D:\Tomcat\jakarta-tomcat-3.2-b7-src\src\share\org\apache\tomcat\facade\Simpl
eFacadeManager.java:115:
>
> class org.apache.tomcat.facade.HttpServletResponseFacade is an abstract
> class. It can't be instantiated.
>     [javac]    return new HttpServletResponseFacade(res);
>     [javac]           ^
>     [javac] Note: 7 files use or override a deprecated API.  Recompile
with
> "-deprecation" for details.
>     [javac] 12 errors, 1 warning
>
> BUILD FAILED
>
> D:\Tomcat\jakarta-tomcat-3.2-b7-src\build.xml:94: Compile failed, messages
> should have been provided.
>
> Total time: 2 minutes 1 second
>
> Have I got the wrong distribution?


Mime
View raw message