问题描述
ErrorpageexceptionTheservercannotusetheerrorpagespecifiedforyourapplicationtohandletheOriginalExceptionprintedbelow.PleaseseetheErrorPageExceptionbelowforadescriptionoftheproblemwiththespecifiederrorpage.OriginalException:ErrorMessage:SRVE0207E:未捕捉到servlet抛出的初始化异常ErrorCode:500TargetServlet:nullErrorStack:java.lang.VerifyError:classloadingconstraintviolated(class:org/apache/struts/action/WebXMLServletMappingParsermethod:startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V)atpc:0atjava.lang.J9VMInternals.verifyImpl(NativeMethod)atjava.lang.J9VMInternals.verify(J9VMInternals.java:59)atjava.lang.J9VMInternals.initialize(J9VMInternals.java:120)atorg.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1430)atorg.apache.struts.action.ActionServlet.init(ActionServlet.java:468)atjavax.servlet.GenericServlet.init(GenericServlet.java:256)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:185)atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:316)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:341)atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)atcom.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)atcom.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch(FilterProxyServlet.java:61)atcom.ibm.ws.webcontainer.servlet.FilterProxyServlet.service(FilterProxyServlet.java:41)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)atcom.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:613)atcom.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:145)atcom.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:460)atcom.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:111)atcom.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)atcom.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)atcom.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)atcom.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)atcom.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)atcom.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)atcom.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)atcom.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)atcom.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)atcom.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)atcom.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)atcom.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)atcom.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)ErrorPageException:ErrorMessage:ErrorCode:0TargetServlet:nullErrorStack:javax.servlet.jsp.JspExceptionatcom.ibm.ws.console.taglib.common.DetectLocaleTag.doStartTag(DetectLocaleTag.java:134)at_ibmjsp._error._jspx_meth_ibmcommon_detectLocale_0(_error.java:226)at_ibmjsp._error._jspService(_error.java:114)atcom.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)atjavax.servlet.http.HttpServlet.service(HttpServlet.java:856)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)atcom.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)atcom.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)atcom.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)atcom.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)atcom.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)atcom.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)atcom.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:2670)atcom.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3152)atcom.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)atcom.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)atcom.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)atcom.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)atcom.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)atcom.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)atcom.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1812)atcom.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)atcom.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)atcom.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)atcom.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)atcom.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)atcom.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)atcom.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
解决方案
解决方案二:
JSP页面使用标签的问题
解决方案三:
楼上说的对