tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wright, Steve" <swri...@edmunds.com>
Subject Build Fails - Have you seen this one?
Date Wed, 30 May 2001 21:27:31 GMT
To All

I'm trying to build tomcat and have incountered the following problem.  My
system is as follows:
*	Redhat 7.0
*	Linux Kernal 2.2.16-22
*	tomcat 3.2.1
*	ant 1.3
*	jdk1.3.1
*	jakarta-servletapi-3.2
Thanks in advance.

Buildfile: build.xml

prepare:
     [copy] Could not find file /usr/local/jakarta/jaxp-1.0.1/jaxp.jar to
copy.
     [copy] Could not find file /usr/local/jakarta/jaxp-1.0.1/parser.jar to
copy.

tomcat:
    [javac] Compiling 4 source files to
/usr/local/jakarta/build/tomcat/classes
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/faca
de/HttpServletRequestFacade.java:290: Ambiguous class:
org.apache.tomcat.util.Constants and org.apache.tomcat.core.Constants
    [javac]             encoding = Constants.DEFAULT_CHAR_ENCODING;
    [javac]                        ^
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/faca
de/ServletOutputStreamFacade.java:130: Ambiguous class:
org.apache.tomcat.core.Constants and org.apache.tomcat.util.Constants
    [javac] 	    if ( Constants.DEFAULT_CHAR_ENCODING.equals(enc) )
    [javac] 	                  ^
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/requ
est/StaticInterceptor.java:188: Ambiguous class:
org.apache.tomcat.core.RequestUtil and org.apache.tomcat.util.RequestUtil
    [javac] 				       RequestUtil.getLocale(req),
    [javac] 				       ^
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/requ
est/StaticInterceptor.java:218: Ambiguous class:
org.apache.tomcat.core.RequestUtil and org.apache.tomcat.util.RequestUtil
    [javac] 					 RequestUtil.getLocale(req),
    [javac] 					 ^
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/requ
est/StaticInterceptor.java:457: Ambiguous class:
org.apache.tomcat.core.RequestUtil and org.apache.tomcat.util.RequestUtil
    [javac] 	Locale locale=RequestUtil.getLocale(req);
    [javac] 	              ^
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/util
/SessionUtil.java:106: No variable SESSION_COOKIE_NAME defined in class
org.apache.tomcat.util.Constants.
    [javac] 	Cookie cookie = new Cookie(Constants.SESSION_COOKIE_NAME,
id);
    [javac] 	                                    ^
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/util
/SessionUtil.java:196: No variable SESSION_COOKIE_NAME defined in class
org.apache.tomcat.util.Constants.
    [javac] 	    if
(Constants.SESSION_COOKIE_NAME.equals(cookies[i].getName()))
    [javac] 	                 ^
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/util
/SessionUtil.java:215: No variable SESSION_PARAMETER_NAME defined in class
org.apache.tomcat.util.Constants.
    [javac] 	String match = ";" + Constants.SESSION_PARAMETER_NAME + "=";
    [javac] 	                              ^
    [javac]
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/util
/SessionUtil.java:266: No variable SESSION_PARAMETER_NAME defined in class
org.apache.tomcat.util.Constants.
    [javac] 	buf.append(Constants.SESSION_PARAMETER_NAME);
    [javac] 	                    ^
    [javac] Note:
/usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/share/org/apache/tomcat/requ
est/StaticInterceptor.java uses or overrides a deprecated API.  Recompile
with "-deprecation" for details.
    [javac] 9 errors, 1 warning

BUILD FAILED

/usr/local/jakarta/jakarta-tomcat-3.2.1-src/build.xml:94: Compile failed,
messages should have been provided.

Total time: 3 seconds



Mime
View raw message