tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Parrish <cparr...@icegallery.com>
Subject building Tomcat
Date Tue, 07 May 2002 17:22:03 GMT
I'm trying to compile the tomcat. When I get to ant test I get the 
error below. So I'm assuming that I either have a problem with javax
(only I don't see a jar file with that name) or with jmx. Also a potinal
problem is that I got the jakarta-servletapi-4 from the 3.3.1 release (I
couldn't find the source for it with the 4.0 release.). Can anyone
advise me here?

===

build-main:
    [javac] Compiling 4 source files to
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/build/server/classes
    [javac] Compiling 24 source files to
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/build/server/classes
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java:73:
Class javax.servlet.Filter not found in import.
    [javac] import javax.servlet.Filter;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java:74:
Class javax.servlet.FilterChain not found in import.
    [javac] import javax.servlet.FilterChain;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java:75:
Class javax.servlet.FilterConfig not found in import.
    [javac] import javax.servlet.FilterConfig;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationFilterChain.java:98:
Interface javax.servlet.FilterChain of class org.apache.catalina.core.ApplicationFilterChain
not found.
    [javac] final class ApplicationFilterChain implements FilterChain {
    [javac]                                               ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationResponse.java:73:
Class javax.servlet.ServletResponseWrapper not found in import.
    [javac] import javax.servlet.ServletResponseWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationResponse.java:95:
Superclass javax.servlet.ServletResponseWrapper of class org.apache.catalina.core.ApplicationResponse
not found.
    [javac] class ApplicationResponse extends ServletResponseWrapper {
    [javac]                                   ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationFilterConfig.java:72:
Class javax.servlet.Filter not found in import.
    [javac] import javax.servlet.Filter;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationFilterConfig.java:73:
Class javax.servlet.FilterConfig not found in import.
    [javac] import javax.servlet.FilterConfig;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationFilterConfig.java:90:
Interface javax.servlet.FilterConfig of class org.apache.catalina.core.ApplicationFilterConfig
not found.
    [javac] final class ApplicationFilterConfig implements FilterConfig
{
    [javac]                                                ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java:77:
Class javax.servlet.ServletRequestWrapper not found in import.
    [javac] import javax.servlet.ServletRequestWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java:79:
Class javax.servlet.ServletResponseWrapper not found in import.
    [javac] import javax.servlet.ServletResponseWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java:83:
Class javax.servlet.http.HttpServletRequestWrapper not found in import.
    [javac] import javax.servlet.http.HttpServletRequestWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationDispatcher.java:85:
Class javax.servlet.http.HttpServletResponseWrapper not found in import.
    [javac] import javax.servlet.http.HttpServletResponseWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationContext.java:90:
Class javax.servlet.ServletContextAttributeEvent not found in import.
    [javac] import javax.servlet.ServletContextAttributeEvent;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationContext.java:91:
Class javax.servlet.ServletContextAttributeListener not found in import.
    [javac] import javax.servlet.ServletContextAttributeListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationHttpResponse.java:71:
Class javax.servlet.http.HttpServletResponseWrapper not found in import.
    [javac] import javax.servlet.http.HttpServletResponseWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationHttpResponse.java:93:
Superclass javax.servlet.http.HttpServletResponseWrapper of class org.apache.catalina.core.ApplicationHttpResponse
not found.
    [javac] class ApplicationHttpResponse extends
HttpServletResponseWrapper {
    [javac]                                       ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationHttpRequest.java:75:
Class javax.servlet.http.HttpServletRequestWrapper not found in import.
    [javac] import javax.servlet.http.HttpServletRequestWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationHttpRequest.java:100:
Superclass javax.servlet.http.HttpServletRequestWrapper of class org.apache.catalina.core.ApplicationHttpRequest
not found.
    [javac] class ApplicationHttpRequest extends
HttpServletRequestWrapper {
    [javac]                                      ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardContext.java:79:
Class javax.servlet.FilterConfig not found in import.
    [javac] import javax.servlet.FilterConfig;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardContext.java:81:
Class javax.servlet.ServletContextEvent not found in import.
    [javac] import javax.servlet.ServletContextEvent;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardContext.java:82:
Class javax.servlet.ServletContextListener not found in import.
    [javac] import javax.servlet.ServletContextListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java:89:
Class javax.servlet.ServletContextAttributeEvent not found in import.
    [javac] import javax.servlet.ServletContextAttributeEvent;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationContextFacade.java:90:
Class javax.servlet.ServletContextAttributeListener not found in import.
    [javac] import javax.servlet.ServletContextAttributeListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java:70:
Class javax.servlet.FilterConfig not found in import.
    [javac] import javax.servlet.FilterConfig;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationRequest.java:72:
Class javax.servlet.ServletRequestWrapper not found in import.
    [javac] import javax.servlet.ServletRequestWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/ApplicationRequest.java:96:
Superclass javax.servlet.ServletRequestWrapper of class org.apache.catalina.core.ApplicationRequest
not found.
    [javac] class ApplicationRequest extends ServletRequestWrapper {
    [javac]                                  ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/servlets/InvokerServlet.java:75:
Class javax.servlet.http.HttpServletRequestWrapper not found in import.
    [javac] import javax.servlet.http.HttpServletRequestWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/servlets/InvokerHttpRequest.java:75:
Class javax.servlet.http.HttpServletRequestWrapper not found in import.
    [javac] import javax.servlet.http.HttpServletRequestWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/servlets/InvokerHttpRequest.java:94:
Superclass javax.servlet.http.HttpServletRequestWrapper of class org.apache.catalina.servlets.InvokerHttpRequest
not found.
    [javac] class InvokerHttpRequest extends HttpServletRequestWrapper {
    [javac]                                  ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/util/ssi/ResponseIncludeWrapper.java:71:
Class javax.servlet.http.HttpServletResponseWrapper not found in import.
    [javac] import javax.servlet.http.HttpServletResponseWrapper;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/util/ssi/ResponseIncludeWrapper.java:80:
Superclass javax.servlet.http.HttpServletResponseWrapper of class org.apache.catalina.util.ssi.ResponseIncludeWrapper
not found.
    [javac]     extends HttpServletResponseWrapper {
    [javac]             ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/util/InstanceSupport.java:68:
Class javax.servlet.Filter not found in import.
    [javac] import javax.servlet.Filter;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/session/StandardSession.java:83:
Class javax.servlet.http.HttpSessionActivationListener not found in import.
    [javac] import javax.servlet.http.HttpSessionActivationListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/session/StandardSession.java:84:
Class javax.servlet.http.HttpSessionAttributeListener not found in import.
    [javac] import javax.servlet.http.HttpSessionAttributeListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/session/StandardSession.java:88:
Class javax.servlet.http.HttpSessionEvent not found in import.
    [javac] import javax.servlet.http.HttpSessionEvent;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/session/StandardSession.java:89:
Class javax.servlet.http.HttpSessionListener not found in import.
    [javac] import javax.servlet.http.HttpSessionListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/session/StandardSessionFacade.java:81:
Class javax.servlet.http.HttpSessionActivationListener not found in import.
    [javac] import javax.servlet.http.HttpSessionActivationListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/session/StandardSessionFacade.java:82:
Class javax.servlet.http.HttpSessionAttributeListener not found in import.
    [javac] import javax.servlet.http.HttpSessionAttributeListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/session/StandardSessionFacade.java:86:
Class javax.servlet.http.HttpSessionEvent not found in import.
    [javac] import javax.servlet.http.HttpSessionEvent;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/session/StandardSessionFacade.java:87:
Class javax.servlet.http.HttpSessionListener not found in import.
    [javac] import javax.servlet.http.HttpSessionListener;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/InstanceEvent.java:69:
Class javax.servlet.Filter not found in import.
    [javac] import javax.servlet.Filter;
    [javac]        ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapper.java:914:
Class javax.servlet.Filter not found in javax.servlet.Servlet loadServlet().
    [javac]            
instanceSupport.fireInstanceEvent(InstanceEvent.BEFORE_INIT_EVENT,
    [javac]                                              ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapper.java:917:
Class javax.servlet.Filter not found in javax.servlet.Servlet loadServlet().
    [javac]            
instanceSupport.fireInstanceEvent(InstanceEvent.AFTER_INIT_EVENT,
    [javac]                                              ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapper.java:920:
Class javax.servlet.Filter not found in javax.servlet.Servlet loadServlet().
    [javac]            
instanceSupport.fireInstanceEvent(InstanceEvent.AFTER_INIT_EVENT,
    [javac]                                              ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapper.java:925:
Class javax.servlet.Filter not found in javax.servlet.Servlet loadServlet().
    [javac]            
instanceSupport.fireInstanceEvent(InstanceEvent.AFTER_INIT_EVENT,
    [javac]                                              ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapper.java:931:
Class javax.servlet.Filter not found in javax.servlet.Servlet loadServlet().
    [javac]            
instanceSupport.fireInstanceEvent(InstanceEvent.AFTER_INIT_EVENT,
    [javac]                                              ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapper.java:1077:
Class javax.servlet.Filter not found in void unload().
    [javac]               (InstanceEvent.BEFORE_DESTROY_EVENT,
instance);
    [javac]               ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapper.java:1081:
Class javax.servlet.Filter not found in void unload().
    [javac]               (InstanceEvent.AFTER_DESTROY_EVENT, instance);
    [javac]               ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/core/StandardWrapper.java:1084:
Class javax.servlet.Filter not found in void unload().
    [javac]               (InstanceEvent.AFTER_DESTROY_EVENT, instance,
t);
    [javac]               ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/connector/HttpRequestFacade.java:198:
Method getRequestURL() not found in interface javax.servlet.http.HttpServletRequest.
    [javac]         return ((HttpServletRequest)
request).getRequestURL();
    [javac]                                                            ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/connector/ResponseFacade.java:230:
Method resetBuffer() not found in interface javax.servlet.ServletResponse.
    [javac]         response.resetBuffer();
    [javac]                             ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/connector/RequestFacade.java:139:
Method setCharacterEncoding(java.lang.String) not found in interface javax.servlet.ServletRequest.
    [javac]         request.setCharacterEncoding(env);
    [javac]                                     ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/connector/RequestFacade.java:175:
Method getParameterMap() not found in interface javax.servlet.ServletRequest.
    [javac]         return request.getParameterMap();
    [javac]                                       ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/util/ssi/SsiInclude.java:106:
Incompatible type for method. Can't convert org.apache.catalina.util.ssi.ResponseIncludeWrapper
to javax.servlet.ServletResponse.
    [javac]                                new
ResponseIncludeWrapper(super.res,   
[javac]                                ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/util/ssi/SsiInclude.java:113:
Exception javax.servlet.ServletException is never thrown in the body of the corresponding
try statement.
    [javac]             } catch (ServletException e) {
    [javac]               ^
    [javac]
/usr/opt/jakarta-tomcat-4.0.3-src/catalina/src/share/org/apache/catalina/authenticator/FormAuthenticator.java:422:
Method getParameterMap() not found in interface javax.servlet.http.HttpServletRequest.
    [javac]         Map parameters = hreq.getParameterMap();
    [javac]                                              ^
    [javac] Note: 5 files use or override a deprecated API.  Recompile
with "-deprecation" for details.
    [javac] 57 errors, 1 warning

BUILD FAILED

/usr/opt/jakarta-tomcat-4.0.3-src/catalina/build.xml:520: Compile
failed, messages should have been provided.







--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message