tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Delisle <pierre.deli...@sun.com>
Subject Re: 3.2b7 Fails to Compile on WinNT4.0
Date Mon, 13 Nov 2000 21:28:17 GMT
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\JspFactoryImpl.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\JspFactoryImpl.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\PageContextImpl.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\HttpServletRequestFacade.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\HttpServletRequestFacade.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\HttpServletRequestFacade.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\HttpServletResponseFacade.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\ServletContextFacade.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\ServletContextFacade.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\SimpleFacadeManager.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\SimpleFacadeManager.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\SimpleFacadeManager.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