You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Joe Yuen <jo...@chisq.com> on 2006/10/19 19:33:31 UTC
struts 1.2.9 and tomcat 5.5
Is there any compatibility issues with struts 1.2.9 and tomcat 5.5. I upgraded to 5.5 from 5.0.28 and am now getting the following error.
java.lang.ClassCastException: org.apache.struts.taglib.logic.IterateTei
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:420)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
I have verified that struts.jar is in C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\Chisq\WEB-INF\lib where I have installed tomcat.
Has anyone else run into this problem?
Thanks,
-Joe
RE: struts 1.2.9 and tomcat 5.5
Posted by Joe Yuen <jo...@chisq.com>.
The error occurs when I startup my web app.
-----Original Message-----
From: Lixin Chu [mailto:lixin.chu@gmail.com]
Sent: Thu 10/19/2006 4:46 PM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and tomcat 5.5
i use TC 5.5 and Struts 1.2.9 w/o problems. but i can not tell what's wrong.
when did the error occur ?
Re: struts 1.2.9 and tomcat 5.5
Posted by Lixin Chu <li...@gmail.com>.
i use TC 5.5 and Struts 1.2.9 w/o problems. but i can not tell what's wrong.
when did the error occur ?
RE: struts 1.2.9 and tomcat 5.5
Posted by Joe Yuen <jo...@chisq.com>.
I did as you suggested but am still getting the same error. Any other ideas?
-----Original Message-----
From: James Mitchell [mailto:jmitchell@apache.org]
Sent: Thu 10/19/2006 3:47 PM
To: Struts Users Mailing List
Subject: Re: struts 1.2.9 and tomcat 5.5
Make sure you don't have an extra copy of struts jar under the shared
lib dir. I would also delete the work directory too.
--
James Mitchell
678.910.8017
On Oct 19, 2006, at 1:33 PM, Joe Yuen wrote:
>
> Is there any compatibility issues with struts 1.2.9 and tomcat 5.5.
> I upgraded to 5.5 from 5.0.28 and am now getting the following error.
>
> java.lang.ClassCastException:
> org.apache.struts.taglib.logic.IterateTei
> org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo
> (TagLibraryInfoImpl.java:420)
> org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD
> (TagLibraryInfoImpl.java:248)
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>
> (TagLibraryInfoImpl.java:162)
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:
> 423)
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
> org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> org.apache.jasper.compiler.ParserController.doParse
> (ParserController.java:211)
> org.apache.jasper.compiler.ParserController.parse
> (ParserController.java:100)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
> org.apache.jasper.JspCompilationContext.compile
> (JspCompilationContext.java:563)
> org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:303)
> org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:314)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doF
> ilterInternal(OpenSessionInViewFilter.java:174)
> org.springframework.web.filter.OncePerRequestFilter.doFilter
> (OncePerRequestFilter.java:77)
>
>
>
> I have verified that struts.jar is in C:\Program Files\Apache
> Software Foundation\Tomcat 5.5\webapps\Chisq\WEB-INF\lib where I
> have installed tomcat.
>
> Has anyone else run into this problem?
>
>
> Thanks,
> -Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: struts 1.2.9 and tomcat 5.5
Posted by James Mitchell <jm...@apache.org>.
Make sure you don't have an extra copy of struts jar under the shared
lib dir. I would also delete the work directory too.
--
James Mitchell
678.910.8017
On Oct 19, 2006, at 1:33 PM, Joe Yuen wrote:
>
> Is there any compatibility issues with struts 1.2.9 and tomcat 5.5.
> I upgraded to 5.5 from 5.0.28 and am now getting the following error.
>
> java.lang.ClassCastException:
> org.apache.struts.taglib.logic.IterateTei
> org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo
> (TagLibraryInfoImpl.java:420)
> org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD
> (TagLibraryInfoImpl.java:248)
> org.apache.jasper.compiler.TagLibraryInfoImpl.<init>
> (TagLibraryInfoImpl.java:162)
> org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:
> 423)
> org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
> org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
> org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> org.apache.jasper.compiler.ParserController.doParse
> (ParserController.java:211)
> org.apache.jasper.compiler.ParserController.parse
> (ParserController.java:100)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
> org.apache.jasper.JspCompilationContext.compile
> (JspCompilationContext.java:563)
> org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:303)
> org.apache.jasper.servlet.JspServlet.serviceJspFile
> (JspServlet.java:314)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doF
> ilterInternal(OpenSessionInViewFilter.java:174)
> org.springframework.web.filter.OncePerRequestFilter.doFilter
> (OncePerRequestFilter.java:77)
>
>
>
> I have verified that struts.jar is in C:\Program Files\Apache
> Software Foundation\Tomcat 5.5\webapps\Chisq\WEB-INF\lib where I
> have installed tomcat.
>
> Has anyone else run into this problem?
>
>
> Thanks,
> -Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org