Hi,
I have Tomcat 5.5.9, JDK 1.5. I am trying to move a webapp that worked fine with JDK 1.4 (probably an earlier Tomcat too).
I get this when I try to access a page:
and see this in the log file:
I have tried googling for an answer, and read and re-read docs - any pointers would be very much appreciated.
Thanks,
John Pedersen
I have Tomcat 5.5.9, JDK 1.5. I am trying to move a webapp that worked fine with JDK 1.4 (probably an earlier Tomcat too).
I get this when I try to access a page:
Code:
java.lang.ClassCastException: java.lang.NoClassDefFoundError at org.apache.jsp.WEB_002dINF.jsp.uncaughtException_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.uncaughtException_jsp:48) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at....
and see this in the log file:
Code:
2005-07-14 10:31:18,781 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/starfriend].[starfriend]] - <Servlet.service() for servlet starfriend threw exception>
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
...
I have tried googling for an answer, and read and re-read docs - any pointers would be very much appreciated.
Thanks,
John Pedersen