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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: August 17, 2005 6:24 AM
To: [EMAIL PROTECTED]; 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to