修改JSP,刷新一下JSP结果就报错,错误如下:
1 严重: Servlet.service() for servlet jsp threw exception 2 java.lang.NoSuchFieldError: deferredExpression 3 at org.apache.taglibs.standard.tag.common.core.ForEachSupport.release(ForEachSupport.java:178) 4 at org.apache.jasper.runtime.TagHandlerPool.release(TagHandlerPool.java:166) 5 at org.apache.jsp.portal_jsp._jspDestroy(portal_jsp.java:35) 6 at org.apache.jasper.runtime.HttpJspBase.destroy(HttpJspBase.java:61) 7 at org.apache.jasper.servlet.JspServletWrapper.destroy(JspServletWrapper.java:439) 8 at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144) 9 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340) 10 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 11 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) 12 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 13 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 14 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 15 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) 16 at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) 17 at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) 18 at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) 19 at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:140) 20 at org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186) 21 at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:355) 22 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:259) 23 at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:141) 24 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) 25 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 26 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 27 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 28 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 29 at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:248) 30 at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49) 31 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) 32 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 33 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 34 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 35 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 36 at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:124) 37 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 38 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 39 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 40 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 41 at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:170) 42 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) 43 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 44 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 45 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 46 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 47 at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:170) 48 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) 49 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 50 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 51 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 52 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 53 at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:104) 54 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 55 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 56 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 57 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 58 at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:84) 59 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 60 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 61 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 62 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 63 at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:208) 64 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 65 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 66 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 67 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 68 at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:88) 69 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 70 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 71 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 72 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 73 at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127) 74 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 75 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 76 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 77 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 78 at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:104) 79 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 80 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 81 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 82 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 83 at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267) 84 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 85 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 86 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 87 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 88 at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:130) 89 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 90 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 91 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 92 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 93 at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143) 94 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 95 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 96 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 97 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 98 at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:137) 99 at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) 100 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 101 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 102 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 103 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 104 at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) 105 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 106 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 107 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 108 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 109 at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:130) 110 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 111 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 112 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 113 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 114 at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176) 115 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230) 116 at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229) 117 at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:456) 118 at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227) 119 at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52) 120 at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:477) 121 at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:467) 122 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 123 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 124 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) 125 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 126 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 127 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 128 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 129 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 130 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 131 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 132 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 133 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) 134 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) 135 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) 136 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) 137 at java.lang.Thread.run(Thread.java:619)
原因是web-inf lib下有多个jstl jar包的原因 删除一个重新启动 一切ok !