You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Christian Dionne <Ch...@cogeco.com> on 2005/08/17 15:13:44 UTC
RE: Tomcat 5.5.9 with Struts 1.2.7 -> ClassCastException - looks
like a Tomcat bug
Hi Stewart,
I had the same problem and I received a great answer on this mailing list
a few days ago.
The problem is caused by either one of these libraries that are
conflicting with Struts:
- jsp-api.jar
- jsp-2.0-api.jar
On my side, removing these libraries from my project (they were not used)
solved the problem.
Thanks,
Christian
-----Original Message-----
From: stewart.cambridge@mail.thomson.com
[mailto:stewart.cambridge@mail.thomson.com]
Sent: August 17, 2005 6:24 AM
To: tomcat-user-help@jakarta.apache.org; user@struts.apache.org
Subject: Tomcat 5.5.9 with Struts 1.2.7 -> ClassCastException - looks like a
Tomcat bug
Using Struts 1.2.7 with the latest Tomcat 5.5.9 I get the following in
localhost.<date>.log when I first try to access my web application:
17-Aug-2005 11:02:02 org.apache.catalina.core.Stand-ardHostValve custom
SEVERE: Exception Processing
ErrorPage[exceptionType=java.l-ang.Exception, location=/error.jsp]
org.apache.jasper.JasperExcept-ion: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.html.-MessagesTei
And in stdout_<date>.log I get:
ERROR:org.apache.catalina.core-.ApplicationDispatcher.invoke(-Applicatio
nDispatcher.java:704-)
Servlet.service() for servlet jsp threw exception
java.lang.ClassCastException: org.apache.struts.taglib.html.-MessagesTei
Through trial and error I have found that this does not happen with
Tomcat 5.0.28, with all other factors (struts, my application, etc)
kept the same.
Thought you all might like to know.
Stewart
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org