neuralnode
Technical User
Hi All,
I'm trying to compile Tomcat 7 under SPARC Solaris.
While running ant, I get the errors below.
The java used is JDK 1.6.0_27.
Do you know what the problem is?
I'm a Unix admin, I have no clue about Java compilers.
Thanx in advance!
=================
root@crm02:/home/tomcat/apache-tomcat-7.0.21-src# ant
Buildfile: /home/tomcat/apache-tomcat-7.0.21-src/build.xml
build-prepare:
[delete] Deleting directory /home/tomcat/apache-tomcat-7.0.21-src/output/build/temp
[mkdir] Created dir: /home/tomcat/apache-tomcat-7.0.21-src/output/build/temp
download-compile:
testexist:
[echo] Testing for /usr/share/java/tomcat-native-1.1.22/tomcat-native.tar.gz
downloadfile-2:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-daemon-1.0.7/commons-daemon-1.0.7.jar
downloadgz-2:
testexist:
[echo] Testing for /usr/share/java/commons-daemon-1.0.7/commons-daemon-1.0.7-native-src.tar.gz
downloadfile-2:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-pool-1.5.6-src/build.xml
downloadgz-2:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-dbcp-1.4-src/build.xml
downloadgz-2:
build-prepare:
[delete] Deleting directory /home/tomcat/apache-tomcat-7.0.21-src/output/build/temp
[mkdir] Created dir: /home/tomcat/apache-tomcat-7.0.21-src/output/build/temp
build-manifests:
build-tomcat-dbcp:
testexist:
[echo] Testing for /usr/share/java/ecj-3.7/ecj-3.7.jar
downloadfile-2:
download-validate:
validate:
compile:
[javac] Compiling 1185 source files to /home/tomcat/apache-tomcat-7.0.21-src/output/classes
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java:54: cannot find symbol
[javac] symbol : class MessageDispatch15Interceptor
[javac] location: package org.apache.catalina.tribes.group.interceptors
[javac] import org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/GroupChannel.java:40: cannot find symbol
[javac] symbol : class MessageDispatchInterceptor
[javac] location: package org.apache.catalina.tribes.group.interceptors
[javac] import org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java:61: cannot find symbol
[javac] symbol : class StaticMembershipInterceptor
[javac] location: class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
[javac] WeakReference<StaticMembershipInterceptor> staticMembers = null;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/transport/bio/util/FastQueue.java:42: cannot find symbol
[javac] symbol : class SingleRemoveSynchronizedAddLock
[javac] location: class org.apache.catalina.tribes.transport.bio.util.FastQueue
[javac] private SingleRemoveSynchronizedAddLock lock = null;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/transport/bio/util/FastQueue.java:229: cannot find symbol
[javac] symbol : class SingleRemoveSynchronizedAddLock
[javac] location: class org.apache.catalina.tribes.transport.bio.util.FastQueue
[javac] public SingleRemoveSynchronizedAddLock getLock() {
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java:678: cannot find symbol
[javac] symbol : class MessageDispatch15Interceptor
[javac] location: class org.apache.catalina.ha.tcp.SimpleTcpCluster
[javac] channel.addInterceptor(new MessageDispatch15Interceptor());
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/tomcat/util/bcel/classfile/Attribute.java:167: cannot find symbol
[javac] symbol : class RuntimeVisibleParameterAnnotations
[javac] location: class org.apache.tomcat.util.bcel.classfile.Attribute
[javac] return new RuntimeVisibleParameterAnnotations(name_index, length,
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/tomcat/util/bcel/classfile/Attribute.java:170: cannot find symbol
[javac] symbol : class RuntimeInvisibleParameterAnnotations
[javac] location: class org.apache.tomcat.util.bcel.classfile.Attribute
[javac] return new RuntimeInvisibleParameterAnnotations(name_index, length,
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/GroupChannel.java:364: cannot find symbol
[javac] symbol : class MessageDispatchInterceptor
[javac] location: class org.apache.catalina.tribes.group.GroupChannel
[javac] clazz = MessageDispatchInterceptor.class;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java:79: cannot find symbol
[javac] symbol : class StaticMembershipInterceptor
[javac] location: class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
[javac] if ( next instanceof StaticMembershipInterceptor )
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java:80: cannot find symbol
[javac] symbol : class StaticMembershipInterceptor
[javac] location: class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
[javac] staticMembers = new WeakReference<StaticMembershipInterceptor>((StaticMembershipInterceptor)next);
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java:80: cannot find symbol
[javac] symbol : class StaticMembershipInterceptor
[javac] location: class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
[javac] staticMembers = new WeakReference<StaticMembershipInterceptor>((StaticMembershipInterceptor)next);
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/transport/bio/util/FastQueue.java:102: cannot find symbol
[javac] symbol : class SingleRemoveSynchronizedAddLock
[javac] location: class org.apache.catalina.tribes.transport.bio.util.FastQueue
[javac] lock = new SingleRemoveSynchronizedAddLock();
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/tomcat/util/http/fileupload/servlet/ServletFileUpload.java:129: cannot find symbol
[javac] symbol : class ServletRequestContext
[javac] location: class org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload
[javac] return parseRequest(new ServletRequestContext(request));
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/tomcat/util/http/fileupload/servlet/ServletFileUpload.java:151: cannot find symbol
[javac] symbol : class ServletRequestContext
[javac] location: class org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload
[javac] return super.getItemIterator(new ServletRequestContext(request));
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 15 errors
BUILD FAILED
/home/tomcat/apache-tomcat-7.0.21-src/build.xml:491: Compile failed; see the compiler error output for details.
Total time: 12 seconds
=================
I'm trying to compile Tomcat 7 under SPARC Solaris.
While running ant, I get the errors below.
The java used is JDK 1.6.0_27.
Do you know what the problem is?
I'm a Unix admin, I have no clue about Java compilers.
Thanx in advance!
=================
root@crm02:/home/tomcat/apache-tomcat-7.0.21-src# ant
Buildfile: /home/tomcat/apache-tomcat-7.0.21-src/build.xml
build-prepare:
[delete] Deleting directory /home/tomcat/apache-tomcat-7.0.21-src/output/build/temp
[mkdir] Created dir: /home/tomcat/apache-tomcat-7.0.21-src/output/build/temp
download-compile:
testexist:
[echo] Testing for /usr/share/java/tomcat-native-1.1.22/tomcat-native.tar.gz
downloadfile-2:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-daemon-1.0.7/commons-daemon-1.0.7.jar
downloadgz-2:
testexist:
[echo] Testing for /usr/share/java/commons-daemon-1.0.7/commons-daemon-1.0.7-native-src.tar.gz
downloadfile-2:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-pool-1.5.6-src/build.xml
downloadgz-2:
proxyflags:
setproxy:
testexist:
[echo] Testing for /usr/share/java/commons-dbcp-1.4-src/build.xml
downloadgz-2:
build-prepare:
[delete] Deleting directory /home/tomcat/apache-tomcat-7.0.21-src/output/build/temp
[mkdir] Created dir: /home/tomcat/apache-tomcat-7.0.21-src/output/build/temp
build-manifests:
build-tomcat-dbcp:
testexist:
[echo] Testing for /usr/share/java/ecj-3.7/ecj-3.7.jar
downloadfile-2:
download-validate:
validate:
compile:
[javac] Compiling 1185 source files to /home/tomcat/apache-tomcat-7.0.21-src/output/classes
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java:54: cannot find symbol
[javac] symbol : class MessageDispatch15Interceptor
[javac] location: package org.apache.catalina.tribes.group.interceptors
[javac] import org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/GroupChannel.java:40: cannot find symbol
[javac] symbol : class MessageDispatchInterceptor
[javac] location: package org.apache.catalina.tribes.group.interceptors
[javac] import org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java:61: cannot find symbol
[javac] symbol : class StaticMembershipInterceptor
[javac] location: class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
[javac] WeakReference<StaticMembershipInterceptor> staticMembers = null;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/transport/bio/util/FastQueue.java:42: cannot find symbol
[javac] symbol : class SingleRemoveSynchronizedAddLock
[javac] location: class org.apache.catalina.tribes.transport.bio.util.FastQueue
[javac] private SingleRemoveSynchronizedAddLock lock = null;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/transport/bio/util/FastQueue.java:229: cannot find symbol
[javac] symbol : class SingleRemoveSynchronizedAddLock
[javac] location: class org.apache.catalina.tribes.transport.bio.util.FastQueue
[javac] public SingleRemoveSynchronizedAddLock getLock() {
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java:678: cannot find symbol
[javac] symbol : class MessageDispatch15Interceptor
[javac] location: class org.apache.catalina.ha.tcp.SimpleTcpCluster
[javac] channel.addInterceptor(new MessageDispatch15Interceptor());
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/tomcat/util/bcel/classfile/Attribute.java:167: cannot find symbol
[javac] symbol : class RuntimeVisibleParameterAnnotations
[javac] location: class org.apache.tomcat.util.bcel.classfile.Attribute
[javac] return new RuntimeVisibleParameterAnnotations(name_index, length,
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/tomcat/util/bcel/classfile/Attribute.java:170: cannot find symbol
[javac] symbol : class RuntimeInvisibleParameterAnnotations
[javac] location: class org.apache.tomcat.util.bcel.classfile.Attribute
[javac] return new RuntimeInvisibleParameterAnnotations(name_index, length,
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/GroupChannel.java:364: cannot find symbol
[javac] symbol : class MessageDispatchInterceptor
[javac] location: class org.apache.catalina.tribes.group.GroupChannel
[javac] clazz = MessageDispatchInterceptor.class;
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java:79: cannot find symbol
[javac] symbol : class StaticMembershipInterceptor
[javac] location: class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
[javac] if ( next instanceof StaticMembershipInterceptor )
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java:80: cannot find symbol
[javac] symbol : class StaticMembershipInterceptor
[javac] location: class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
[javac] staticMembers = new WeakReference<StaticMembershipInterceptor>((StaticMembershipInterceptor)next);
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/group/interceptors/TcpPingInterceptor.java:80: cannot find symbol
[javac] symbol : class StaticMembershipInterceptor
[javac] location: class org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor
[javac] staticMembers = new WeakReference<StaticMembershipInterceptor>((StaticMembershipInterceptor)next);
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/catalina/tribes/transport/bio/util/FastQueue.java:102: cannot find symbol
[javac] symbol : class SingleRemoveSynchronizedAddLock
[javac] location: class org.apache.catalina.tribes.transport.bio.util.FastQueue
[javac] lock = new SingleRemoveSynchronizedAddLock();
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/tomcat/util/http/fileupload/servlet/ServletFileUpload.java:129: cannot find symbol
[javac] symbol : class ServletRequestContext
[javac] location: class org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload
[javac] return parseRequest(new ServletRequestContext(request));
[javac] ^
[javac] /home/tomcat/apache-tomcat-7.0.21-src/java/org/apache/tomcat/util/http/fileupload/servlet/ServletFileUpload.java:151: cannot find symbol
[javac] symbol : class ServletRequestContext
[javac] location: class org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload
[javac] return super.getItemIterator(new ServletRequestContext(request));
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 15 errors
BUILD FAILED
/home/tomcat/apache-tomcat-7.0.21-src/build.xml:491: Compile failed; see the compiler error output for details.
Total time: 12 seconds
=================