I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using?
build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean