Hello If this is the wrong mailing list then I appoligise.
When compiling tomcat 5.5.16 on a solaris 10 (sparc) I get the following error. Can anyone please advice as to the problem so that I can continue? I have simply downloaded the prerequirites into /usr share/jave and ran ant in the tomcat directory. Regards Neville compile: [javac] Compiling 33 source files to /ora/neville/apache-tomcat-5.5.16-src/s ervletapi/jsr154/build/classes [javac] Note: /ora/neville/apache-tomcat-5.5.16-src/servletapi/jsr154/src/sh are/javax/servlet/ServletRequestWrapper.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: /ora/neville/apache-tomcat-5.5.16-src/servletapi/jsr154/src/sh are/javax/servlet/http/HttpUtils.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [copy] Copying 7 files to /ora/neville/apache-tomcat-5.5.16-src/servletapi/ jsr154/build/classes [copy] Copying 12 files to /ora/neville/apache-tomcat-5.5.16-src/servletapi /jsr154/build/classes/javax/servlet/resources examples: [copy] Copying 31 files to /ora/neville/apache-tomcat-5.5.16-src/servletapi /jsr154/build/examples [javac] Compiling 11 source files to /ora/neville/apache-tomcat-5.5.16-src/s ervletapi/jsr154/build/examples/WEB-INF/classes [javac] /ora/neville/apache-tomcat-5.5.16-src/servletapi/jsr154/examples/WEB -INF/classes/listeners/ContextListener.java:22: cannot find symbol [javac] symbol : class ServletContextAttributeListener [javac] location: package javax.servlet [javac] import javax.servlet.ServletContextAttributeListener; [javac] ^ [javac] /ora/neville/apache-tomcat-5.5.16-src/servletapi/jsr154/examples/WEB -INF/classes/listeners/ContextListener.java:38: cannot find symbol [javac] symbol: class ServletContextAttributeListener [javac] implements ServletContextAttributeListener, ServletContextListen er { [javac] ^ [javac] /ora/neville/apache-tomcat-5.5.16-src/servletapi/jsr154/examples/WEB -INF/classes/listeners/SessionListener.java:23: cannot find symbol [javac] symbol : class HttpSessionAttributeListener [javac] location: package javax.servlet.http [javac] import javax.servlet.http.HttpSessionAttributeListener; [javac] ^ [javac] /ora/neville/apache-tomcat-5.5.16-src/servletapi/jsr154/examples/WEB -INF/classes/listeners/SessionListener.java:41: cannot find symbol [javac] symbol: class HttpSessionAttributeListener [javac] HttpSessionAttributeListener, HttpSessionListener { [javac] ^ [javac] 4 errors BUILD FAILED /ora/neville/apache-tomcat-5.5.16-src/build.xml:48: The following error occurred while executing this line: /ora/neville/apache-tomcat-5.5.16-src/build/build.xml:1968: The following error occurred while executing this line: /ora/neville/apache-tomcat-5.5.16-src/build/build.xml:651: The following error o ccurred while executing this line: /ora/neville/apache-tomcat-5.5.16-src/build/build.xml:172: The following error o ccurred while executing this line: /ora/neville/apache-tomcat-5.5.16-src/servletapi/jsr154/build.xml:114: Compile f ailed; see the compiler error output for details.