Hi,

I am trying to run web application (struts 1.2, Java 6.0, Tomcat-6) and getting below error in logs when I try to run it.

org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei
org.apache.jasper.compiler.DefaultErrorHandler.jsp Error(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatc h(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspErro r(ErrorDispatcher.java:281)
org.apache.jasper.compiler.TagLibraryInfoImpl.crea teTagInfo(TagLibraryInfoImpl.java:419)
org.apache.jasper.compiler.TagLibraryInfoImpl.pars eTLD(TagLibraryInfoImpl.java:250)
org.apache.jasper.compiler.TagLibraryInfoImpl.<ini t>(TagLibraryInfoImpl.java:163)
org.apache.jasper.compiler.Parser.parseTaglibDirec tive(Parser.java:420)
org.apache.jasper.compiler.Parser.parseDirective(P arser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Pa rser.java:1433)
org.apache.jasper.compiler.Parser.parse(Parser.jav a:133)
org.apache.jasper.compiler.ParserController.doPars e(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse( ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:153)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:314)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:294)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:281)
org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)


root cause

java.lang.ClassCastException: org.apache.struts.taglib.bean.CookieTei cannot be cast to javax.servlet.jsp.tagext.TagExtraInfo
org.apache.jasper.compiler.TagLibraryInfoImpl.crea teTagInfo(TagLibraryInfoImpl.java:417)
org.apache.jasper.compiler.TagLibraryInfoImpl.pars eTLD(TagLibraryInfoImpl.java:250)
org.apache.jasper.compiler.TagLibraryInfoImpl.<ini t>(TagLibraryInfoImpl.java:163)
org.apache.jasper.compiler.Parser.parseTaglibDirec tive(Parser.java:420)
org.apache.jasper.compiler.Parser.parseDirective(P arser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Pa rser.java:1433)
org.apache.jasper.compiler.Parser.parse(Parser.jav a:133)
org.apache.jasper.compiler.ParserController.doPars e(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse( ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(C ompiler.java:153)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:314)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:294)
org.apache.jasper.compiler.Compiler.compile(Compil er.java:281)
org.apache.jasper.JspCompilationContext.compile(Js pCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet .java:803)


I never faced this problem ever, could you please help me on this??

Thanks and Regards,
Navjyot Joshi.