struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <Christoph.Nenn...@lex-com.net>
Subject Re: Struts 2.3.28 and Tiles issue
Date Fri, 22 Apr 2016 07:33:27 GMT
> From: Paweł Wielgus <poulwiel@gmail.com>
> To: Struts Users Mailing List <user@struts.apache.org>, 
> Date: 21.04.2016 00:16
> Subject: Struts 2.3.28 and Tiles issue
> 
> Hi all,
> i've upgraded struts-core and all the dependencies to 2.3.28,
> along with that came new tiles libraries.
> 
> And a problem:
> 
> SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.ClassCastException:
> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
> javax.servlet.jsp.tagext.Tag


Sounds like you have a jsp-api.jar packaged in your app. Can you please 
check that?


Regards,
Christoph





> at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
> at 
> 
org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0
> (run_002dscript_jsp.java:102)
> at 
> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService
> (run_002dscript_jsp.java:81)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:388)
> at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> 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:646)
> 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.struts2.dispatcher.ServletDispatcherResult.doExecute
> (ServletDispatcherResult.java:164)
> at org.apache.struts2.dispatcher.StrutsResultSupport.execute
> (StrutsResultSupport.java:191)
> at com.opensymphony.xwork2.DefaultActionInvocation.executeResult
> (DefaultActionInvocation.java:372)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:276)
> at 
> 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept
> (DefaultWorkflowInterceptor.java:168)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept
> (ValidationInterceptor.java:265)
> at 
> 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept
> (AnnotationValidationInterceptor.java:76)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept
> (ConversionErrorInterceptor.java:138)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept
> (StaticParametersInterceptor.java:191)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at org.apache.struts2.interceptor.FileUploadInterceptor.intercept
> (FileUploadInterceptor.java:253)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept
> (ModelDrivenInterceptor.java:100)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept
> (ChainingInterceptor.java:145)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept
> (PrepareInterceptor.java:171)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept
> (ServletConfigInterceptor.java:164)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at org.apache.struts2.interceptor.MultiselectInterceptor.intercept
> (MultiselectInterceptor.java:73)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept
> (DateTextFieldInterceptor.java:125)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at org.apache.struts2.interceptor.CheckboxInterceptor.intercept
> (CheckboxInterceptor.java:91)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept
> (I18nInterceptor.java:140)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept
> (AliasInterceptor.java:193)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
> 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept
> (ExceptionMappingInterceptor.java:189)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at 
com.ppp.elsevier.struts.interceptor.Security.intercept(Security.java:33)
> at com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> at org.apache.struts2.impl.StrutsActionProxy.execute
> (StrutsActionProxy.java:54)
> at 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:567)
> at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction
> (ExecuteOperations.java:81)
> at 
> 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter
> (StrutsPrepareAndExecuteFilter.java:99)
> 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:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:103)
> at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:109)
> at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
> at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:606)
> at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:745)
> 
> I have specific tiles configuration,
> there is no tiles result, just a simple jsp file
> that contains tiles definition,
> in such a way that all pages that are results for actions
> starts like this:
> 
> <%@page contentType="text/html;charset=utf-8" language="java"%>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <%@ taglib prefix="s" uri="/WEB-INF/struts2conf/struts-tags.tld"%>
> 
> <tiles:insertDefinition name="elsevier.admin">
>     <tiles:putAttribute name="body">
> ...
>     </tiles:putAttribute>
> </tiles:insertDefinition>
> 
> 
> in tiles.xml there is only elsevier.admin definition.
> 
> Any ideas anyone?
> 
> Below is the full stack as seen on page render:
> 
> org.apache.jasper.JasperException: javax.servlet.ServletException:
> javax.servlet.jsp.JspException:
> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
> javax.servlet.jsp.tagext.Tag
> org.apache.jasper.servlet.JspServletWrapper.handleJspException
> (JspServletWrapper.java:502)
> org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:412)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute
> (ServletDispatcherResult.java:164)
> org.apache.struts2.dispatcher.StrutsResultSupport.execute
> (StrutsResultSupport.java:191)
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult
> (DefaultActionInvocation.java:372)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:276)
> 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept
> (DefaultWorkflowInterceptor.java:168)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept
> (ValidationInterceptor.java:265)
> 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept
> (AnnotationValidationInterceptor.java:76)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept
> (ConversionErrorInterceptor.java:138)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept
> (StaticParametersInterceptor.java:191)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.FileUploadInterceptor.intercept
> (FileUploadInterceptor.java:253)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept
> (ModelDrivenInterceptor.java:100)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept
> (ChainingInterceptor.java:145)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept
> (PrepareInterceptor.java:171)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.ServletConfigInterceptor.intercept
> (ServletConfigInterceptor.java:164)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.MultiselectInterceptor.intercept
> (MultiselectInterceptor.java:73)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept
> (DateTextFieldInterceptor.java:125)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.CheckboxInterceptor.intercept
> (CheckboxInterceptor.java:91)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept
> (I18nInterceptor.java:140)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept
> (AliasInterceptor.java:193)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept
> (ExceptionMappingInterceptor.java:189)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.ppp.elsevier.struts.interceptor.Security.intercept(Security.java:33)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
> 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:567)
> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction
> (ExecuteOperations.java:81)
> 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter
> (StrutsPrepareAndExecuteFilter.java:99)
> 
> root cause
> 
> javax.servlet.ServletException: javax.servlet.jsp.JspException:
> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
> javax.servlet.jsp.tagext.Tag
> org.apache.jasper.runtime.PageContextImpl.doHandlePageException
> (PageContextImpl.java:864)
> org.apache.jasper.runtime.PageContextImpl.handlePageException
> (PageContextImpl.java:797)
> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService
> (run_002dscript_jsp.java:89)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:388)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute
> (ServletDispatcherResult.java:164)
> org.apache.struts2.dispatcher.StrutsResultSupport.execute
> (StrutsResultSupport.java:191)
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult
> (DefaultActionInvocation.java:372)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:276)
> 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept
> (DefaultWorkflowInterceptor.java:168)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept
> (ValidationInterceptor.java:265)
> 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept
> (AnnotationValidationInterceptor.java:76)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept
> (ConversionErrorInterceptor.java:138)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept
> (StaticParametersInterceptor.java:191)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.FileUploadInterceptor.intercept
> (FileUploadInterceptor.java:253)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept
> (ModelDrivenInterceptor.java:100)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept
> (ChainingInterceptor.java:145)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept
> (PrepareInterceptor.java:171)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.ServletConfigInterceptor.intercept
> (ServletConfigInterceptor.java:164)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.MultiselectInterceptor.intercept
> (MultiselectInterceptor.java:73)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept
> (DateTextFieldInterceptor.java:125)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.CheckboxInterceptor.intercept
> (CheckboxInterceptor.java:91)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept
> (I18nInterceptor.java:140)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept
> (AliasInterceptor.java:193)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept
> (ExceptionMappingInterceptor.java:189)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.ppp.elsevier.struts.interceptor.Security.intercept(Security.java:33)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
> 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:567)
> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction
> (ExecuteOperations.java:81)
> 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter
> (StrutsPrepareAndExecuteFilter.java:99)
> 
> root cause
> 
> java.lang.ClassCastException:
> org.apache.tiles.jsp.taglib.InsertDefinitionTag cannot be cast to
> javax.servlet.jsp.tagext.Tag
> org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
> 
org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspx_meth_tiles_005finsertDefinition_005f0
> (run_002dscript_jsp.java:102)
> org.apache.jsp.WEB_002dINF.pages.admin.run_002dscript_jsp._jspService
> (run_002dscript_jsp.java:81)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> org.apache.jasper.servlet.JspServletWrapper.service
> (JspServletWrapper.java:388)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute
> (ServletDispatcherResult.java:164)
> org.apache.struts2.dispatcher.StrutsResultSupport.execute
> (StrutsResultSupport.java:191)
> com.opensymphony.xwork2.DefaultActionInvocation.executeResult
> (DefaultActionInvocation.java:372)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:276)
> 
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept
> (DefaultWorkflowInterceptor.java:168)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept
> (ValidationInterceptor.java:265)
> 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept
> (AnnotationValidationInterceptor.java:76)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept
> (ConversionErrorInterceptor.java:138)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept
> (StaticParametersInterceptor.java:191)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.FileUploadInterceptor.intercept
> (FileUploadInterceptor.java:253)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept
> (ModelDrivenInterceptor.java:100)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept
> (ChainingInterceptor.java:145)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept
> (PrepareInterceptor.java:171)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.ServletConfigInterceptor.intercept
> (ServletConfigInterceptor.java:164)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
> (ParametersInterceptor.java:229)
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
> (MethodFilterInterceptor.java:98)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.MultiselectInterceptor.intercept
> (MultiselectInterceptor.java:73)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept
> (DateTextFieldInterceptor.java:125)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> org.apache.struts2.interceptor.CheckboxInterceptor.intercept
> (CheckboxInterceptor.java:91)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept
> (I18nInterceptor.java:140)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept
> (AliasInterceptor.java:193)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept
> (ExceptionMappingInterceptor.java:189)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> com.ppp.elsevier.struts.interceptor.Security.intercept(Security.java:33)
> com.opensymphony.xwork2.DefaultActionInvocation.invoke
> (DefaultActionInvocation.java:245)
> 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
> 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:567)
> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction
> (ExecuteOperations.java:81)
> 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter
> (StrutsPrepareAndExecuteFilter.java:99)
> 
> 
> 
> --
> Best greetings,
> Paweł Wielgus.
> tel: +48 604 603 546
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

This Email was scanned by Sophos Anti Virus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message