Tomcat日志报警WARN OgnlValueStack:255

发布于 2021-11-21 12:52:44 字数 9244 浏览 855 评论 4

tomcat log报错,请帮忙看看是什么问题?应如何解决?谢谢!

10:37:31,577  WARN OgnlValueStack:255 - Caught an exception while evaluating expression 'value' against value stack
java.lang.RuntimeException: Caught an Ognl exception while getting property value
 at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:108)
 at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
 at ognl.ASTProperty.getValueBody(ASTProperty.java:96)
 at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170)
 at ognl.SimpleNode.getValue(SimpleNode.java:210)
 at ognl.Ognl.getValue(Ognl.java:333)
 at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:192)
 at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:246)
 at com.opensymphony.webwork.components.Property.start(Property.java:131)
 at com.opensymphony.webwork.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:29)
 at org.apache.jsp.report.report_jsp._jspx_meth_ww_property_12(report_jsp.java:1845)
 at org.apache.jsp.report.report_jsp._jspx_meth_ww_iterator_8(report_jsp.java:1801)
 at org.apache.jsp.report.report_jsp._jspx_meth_ww_if_13(report_jsp.java:1756)
 at org.apache.jsp.report.report_jsp._jspx_meth_ww_if_12(report_jsp.java:1716)
 at org.apache.jsp.report.report_jsp._jspx_meth_ww_iterator_7(report_jsp.java:1634)
 at org.apache.jsp.report.report_jsp._jspx_meth_ww_iterator_6(report_jsp.java:1588)
 at org.apache.jsp.report.report_jsp._jspService(report_jsp.java:196)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:750)
 at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:510)
 at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:445)
 at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
 at com.opensymphony.webwork.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:114)
 at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:101)
 at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:312)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:207)
 at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
 at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
 at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.ncm.sapweb2.web.interceptor.ReportLogInterceptor.intercept(ReportLogInterceptor.java:80)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.ncm.sapweb2.web.interceptor.LoginInterceptor.intercept(LoginInterceptor.java:29)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
 at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
 at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
 at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:233)
 at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:198)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
 at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
 at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
 at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
 at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.IllegalAccessException: Class ognl.OgnlRuntime can not access a member of class java.util.HashMap$Entry with modifiers "public"
 at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:57)
 at java.lang.reflect.Method.invoke(Method.java:317)
 at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
 at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:904)
 at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:54)
 at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:122)
 at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:53)
 at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)
 at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:102)
 ... 83 more

 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

小情绪 2021-11-28 00:19:03

以上是LOG中shutdown的日志记录,我是菜鸟,能说得更详细些吗?

千纸鹤带着心事 2021-11-27 19:31:13

回复
导致shutdown?那没遇到过了。建议逐步添加代码的方式慢慢排查。

做个少女永远怀春 2021-11-26 02:23:03

可能是你form中提交了一个参数,而这个参数在action中没有定义set方法,无法设置值进去,从而导致的警告。

执手闯天涯 2021-11-24 20:52:57

lib里有ognl的包么?是不是少包了

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文