Org.apache.struts.taglib.bean.CookieTei cannot is cast to Javax.servlet.jsp.tagext.TagExtraInfo

Source: Internet
Author: User

Critical: Servlet.service () for Servlet JSP threw exception
Java.lang.ClassCastException:org.apache.struts.taglib.bean.CookieTei cannot is cast to Javax.servlet.jsp.tagext.TagExtraInfo
At Org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo (taglibraryinfoimpl.java:417)
At Org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD (taglibraryinfoimpl.java:250)
At Org.apache.jasper.compiler.taglibraryinfoimpl.<init> (taglibraryinfoimpl.java:163)
At Org.apache.jasper.compiler.Parser.parseTaglibDirective (parser.java:431)
At Org.apache.jasper.compiler.Parser.parseDirective (parser.java:494)
At Org.apache.jasper.compiler.Parser.parseElements (parser.java:1444)
At Org.apache.jasper.compiler.Parser.parse (parser.java:138)
At Org.apache.jasper.compiler.ParserController.doParse (parsercontroller.java:216)
At Org.apache.jasper.compiler.ParserController.parse (parsercontroller.java:103)
At Org.apache.jasper.compiler.Compiler.generateJava (compiler.java:154)
At Org.apache.jasper.compiler.Compiler.compile (compiler.java:315)
At Org.apache.jasper.compiler.Compiler.compile (compiler.java:295)
At Org.apache.jasper.compiler.Compiler.compile (compiler.java:282)
At Org.apache.jasper.JspCompilationContext.compile (jspcompilationcontext.java:586)
At Org.apache.jasper.servlet.JspServletWrapper.service (jspservletwrapper.java:317)
At Org.apache.jasper.servlet.JspServlet.serviceJspFile (jspservlet.java:342)
At Org.apache.jasper.servlet.JspServlet.service (jspservlet.java:267)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:717)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:290)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Org.apache.catalina.core.ApplicationDispatcher.invoke (applicationdispatcher.java:630)
At Org.apache.catalina.core.ApplicationDispatcher.processRequest (applicationdispatcher.java:436)
At Org.apache.catalina.core.ApplicationDispatcher.doForward (applicationdispatcher.java:374)
At Org.apache.catalina.core.ApplicationDispatcher.forward (applicationdispatcher.java:302)
At Org.apache.struts.action.RequestProcessor.doForward (requestprocessor.java:1063)
At Org.apache.struts.action.RequestProcessor.processForwardConfig (requestprocessor.java:386)
At Org.apache.struts.action.RequestProcessor.process (requestprocessor.java:229)
At Org.apache.struts.action.ActionServlet.process (actionservlet.java:1194)
At Org.apache.struts.action.ActionServlet.doPost (actionservlet.java:432)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:637)
At Javax.servlet.http.HttpServlet.service (httpservlet.java:717)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:290)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Com.order.cc.sys.filter.RequestSecurityCheckFilter.doFilter (requestsecuritycheckfilter.java:132)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:235)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Com.order.cc.sys.filter.SetCharacterEncodingFilter.doFilter (setcharacterencodingfilter.java:63)
At Org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (applicationfilterchain.java:235)
At Org.apache.catalina.core.ApplicationFilterChain.doFilter (applicationfilterchain.java:206)
At Org.apache.catalina.core.StandardWrapperValve.invoke (standardwrappervalve.java:233)
At Org.apache.catalina.core.StandardContextValve.invoke (standardcontextvalve.java:191)
At Org.apache.catalina.core.StandardHostValve.invoke (standardhostvalve.java:128)
At Org.apache.catalina.valves.ErrorReportValve.invoke (errorreportvalve.java:102)
At Org.apache.catalina.core.StandardEngineValve.invoke (standardenginevalve.java:109)
At Org.apache.catalina.connector.CoyoteAdapter.service (coyoteadapter.java:286)
At Org.apache.coyote.http11.Http11Processor.process (http11processor.java:845)
At Org.apache.coyote.http11.http11protocol$http11connectionhandler.process (http11protocol.java:583)
At Org.apache.tomcat.util.net.jioendpoint$worker.run (jioendpoint.java:447)
At Java.lang.Thread.run (thread.java:662)
2016-2-23 9:38:05 Org.apache.catalina.core.StandardWrapperValve Invoke

Tomcat boot no problem, access the program to report this error?

Solution:

The project right- -->properties-->java build path-->libraries
Point addexternal jars ...   find you tomcat lib folder,
Select Span style= "font-family:arial;" >jsp-api.jar and servlet-api.jar   " "-->ok.
Last reboot tomcat try again.

Org.apache.struts.taglib.bean.CookieTei cannot is cast to Javax.servlet.jsp.tagext.TagExtraInfo

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.