struts 1.1在tomcat 8上工作吗



我正在将tomcat服务器从tomcat7升级到tomcat8。但struts 1.1似乎不适用于tomcat 8。有人知道支柱1.1没有支撑在tomcat 8上吗。

下面是堆栈跟踪

org.apache.catalina.core.ApplicationDispatcher调用SEVERE:Servlet jsp的Servlet.service()引发异常org.apache.jasper.JasperException:/pages/base/onePanelTemplate.jsp(行:1,列:1)null网址:org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)网址:org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:275)网址:org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:91)网址:org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:335)网址:org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:368)网址:org.apache.jasper.compiler.Parser.parseDirective(Parser.java:471)网址:org.apache.jasper.compiler.Parser.parseElements(Parser.java:1435)网址:org.apache.jasper.compiler.Parser.parse(Parser.java:139)网址:org.apache.jasper.compiler.ParserController.doParse(ParserContrler.java:227)网址:org.apache.jasper.compiler.ParserController.parse(ParserContrler.java:100)网址:org.apache.jasper.compiler.compiler.generateJava(compiler.java:199)网址:org.apache.jasper.compiler.compiler.compiler(compiler.java:356)网址:org.apache.jasper.compiler.compiler.compiler(compiler.java:336)网址:org.apache.jasper.compiler.compiler.compiler(compiler.java:323)网址:org.apache.jasper.JspCompilationContext.compile(JspCompillationContext.java:585)网址:org.apache.jasper.servlet.JspServletWrapper.service(JspServletsWrapper.java:363)网址:org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)网址:org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)位于javax.servlet.httpHttpServlet.service(HttpServlet.java:729)网址:org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)网址:org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)网址:org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)网址:org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)网址:org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)网址:org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:719)网址:org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)网址:org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:390)网址:org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:317)网址:org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1078)网址:org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesser.java:295)网址:org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcess.java:271)网址:org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcess.java:332)网址:org.apache.struts.action.RequestProcessor.produce(RequestProcessor.java:232)网址:org.apache.struts.action.ActionServlet.produce(ActionServlet.java:1913)网址:org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)位于javax.servlet.httpHttpServlet.service(HttpServlet.java:622)位于javax.servlet.httpHttpServlet.service(HttpServlet.java:729)网址:org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)网址:org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)位于jcdecaux.common.ntlm.NTLMSecurityFilter.doFilter(NTLMSecurityFilter.java:26)网址:org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)网址:org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)位于jcdecaux.common.session.expiry.SessionExpiryFilter.doFilter(SessionExpiryBilter.java:84)网址:org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)网址:org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)网址:org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)网址:org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)网址:org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)位于jcdecaux.common.filter.CharsetFilter.doFilter(CharsetFilter.java:41)网址:org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)网址:org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)网址:org.springframework.om.hibernate3.support.OOpenSessionInViewFilter.doFilterInternal(OpenSessionIniewFilter.java:198)网址:org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequest filter.java:75)网址:org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)网址:org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)网址:org.apache.catalina.core.StandardWrapperValv.invoke(StandardWrapperValve.java:212)网址:org.apache.catalina.core.StandardContextValv.invoke(StandardContextValv.java:106)网址:org.apache.catalina.authenticator.AuthenticatorBase.ioke(AuthenticatorBase.java:502)网址:org.apache.catalina.core.StandardHostValv.invoke(StandardHostValve.java:141)网址:org.apache.catalina.vals.ErrorReportValve.ioke(ErrorReportValve.java:79)网址:org.apache.catalina.vals.AbstractAccessLogValv.invoke(AbstractAccessLogValve.java:616)网址:org.apache.catalina.core.StandardEngineValv.invoke(StandardEngineValv.java:88)网址:org.apache.catalina.connecter.CoyoteAdapter.service(Coyotedapter.java:521)网址:org.apache.coyote.http11.AbstractHttp11Processor.procedure(AbstractHttp11Processer.java:1096)网址:org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)网址:org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)网址:org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)位于java.util.concurrent.ThreadPoolExecutiator.runWorker(ThreadPoolExecutiator.java:1142)位于java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)网址:org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)在java.lang.Thread.run(Thread.java:745)

我在jsp中包含的struts标签库的问题,它们使用JSP1.1,而tomcat8支持JSP2.3。更改了jsp,它现在可以工作了。感谢的帮助

相关内容

  • 没有找到相关文章

最新更新