Struts标签的例外情况

时间:2012-12-01 08:30:03

标签: java-ee exception struts2 valuestack

我使用Netbeans 7.0.1和Struts 2.2.3获得以下异常 它非常奇怪,因为以前工作的jsp页面突然开始给出以下异常。大多数情况下,它看起来像部署或库配置问题。请帮忙。

  

警告:StandardWrapperValve [jsp]:PWC1406:servlet jsp的Servlet.service()抛出异常   java.lang.NoSuchMethodError:com.opensymphony.xwork2.util.ValueStack.findValue(Ljava / lang / String; Z)Ljava / lang / Object;       在org.apache.struts2.components.Component.findValue(Component.java:255)       at org.apache.struts2.components.ActionError.evaluateExtraParams(ActionError.java:73)       在org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:856)       在org.apache.struts2.components.UIBean.end(UIBean.java:510)       在org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:42)       at org.apache.jsp.jsp.user.user_jsp._jspx_meth_s_actionerror_0(user_jsp.java:115)       在org.apache.jsp.jsp.user.user_jsp._jspService(user_jsp.java:84)       在org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:847)       在org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)       在org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)       在org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)       在javax.servlet.http.HttpServlet.service(HttpServlet.java:847)       在org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)       在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)       在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)       在org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:428)       在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)       在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)       在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)       在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)       在org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)       在org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)       在com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)       at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)       在org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)       在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)       at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)       at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)       在com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)       在com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)       at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)       at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)       在com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)       在com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)       在com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)       at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)       在com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)       在com.sun.grizzly.ContextTask.run(ContextTask.java:71)       at com.sun.grizzly.util.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:532)       在com.sun.grizzly.util.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:513)       在java.lang.Thread.run(Thread.java:722)

我在Lib下面使用:

enter image description here

0 个答案:

没有答案