博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
javax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.String
阅读量:5319 次
发布时间:2019-06-14

本文共 12644 字,大约阅读时间需要 42 分钟。

1 严重: Servlet.service() for servlet jsp threw exception 2 javax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.String 3     at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:290) 4     at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:243) 5     at javax.el.BeanELResolver.property(BeanELResolver.java:377) 6     at javax.el.BeanELResolver.getValue(BeanELResolver.java:97) 7     at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104) 8     at org.apache.el.parser.AstValue.getValue(AstValue.java:184) 9     at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)10     at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:950)11     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fforEach_005f1(sceneOrderDetail_jsp.java:774)12     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fif_005f1(sceneOrderDetail_jsp.java:725)13     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspService(sceneOrderDetail_jsp.java:435)14     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)15     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)16     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)17     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)18     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)19     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)20     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)21     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)22     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)23     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)24     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)25     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)26     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)27     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)28     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)29     at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)30     at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)31     at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1243)32     at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)33     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)34     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)35     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)36     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)37     at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)38     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)39     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)40     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)41     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)42     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)43     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)44     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)45     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)46     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)47     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)48     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)49     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)50     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)51     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)52     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)53     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)54     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)55     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)56     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)57     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)58     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)59     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)60     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)61     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)62     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)63     at java.lang.Thread.run(Thread.java:745)64 65 三月 14, 2017 9:34:54 上午 org.apache.catalina.core.StandardWrapperValve invoke66 严重: Servlet.service() for servlet [SpringMVC] in context with path [] threw exception [An exception occurred processing JSP page /WEB-INF/jsp/scene/collection/sceneOrderDetail.jsp at line 15467 68 151:                                                 

绫诲埆锛?鎶?鑳芥湇鍔?

69 152: 70 153:
71 154:
72 155:
73 156:
74 157:

鎶?鑳藉悕绉帮細${sceneSkill.skillName }

75 76 77 Stacktrace:] with root cause

原因是:items的${}没写,直接写成了集合名称

错误原因:items="sceneSkills"  

 

 

错误纠正:items=${

sceneSkills}

  

严重: Servlet.service() for servlet jsp threw exceptionjavax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.Stringat javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:290)at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:243)at javax.el.BeanELResolver.property(BeanELResolver.java:377)at javax.el.BeanELResolver.getValue(BeanELResolver.java:97)at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104)at org.apache.el.parser.AstValue.getValue(AstValue.java:184)at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:950)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fforEach_005f1(sceneOrderDetail_jsp.java:774)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fif_005f1(sceneOrderDetail_jsp.java:725)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspService(sceneOrderDetail_jsp.java:435)at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1243)at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)at java.lang.Thread.run(Thread.java:745)

三月 14, 2017 9:34:54 上午 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet [SpringMVC] in context with path [] threw exception [An exception occurred processing JSP page /WEB-INF/jsp/scene/collection/sceneOrderDetail.jsp at line 154
151: <p>绫诲埆锛?<span>鎶?鑳芥湇鍔?</span></p>152: </div>153: <div class="m">154: <div><img src="${IMGPath}/${sceneSkill.imgUrl}"></div>155: <div>156: <div class="up clearfix">157: <p>鎶?鑳藉悕绉帮細<span>${sceneSkill.skillName }</span></p>
Stacktrace:] with root cause

转载于:https://www.cnblogs.com/coreyjk/p/6546867.html

你可能感兴趣的文章
一个.NET通用JSON解析/构建类的实现(c#)
查看>>
Windows Phone开发(31):画刷 转:http://blog.csdn.net/tcjiaan/article/details/7460226
查看>>
Windows Phone开发(5):室内装修 转:http://blog.csdn.net/tcjiaan/article/details/7269014
查看>>
记Angular与Django REST框架的一次合作(2):前端组件化——Angular
查看>>
08.存储Cinder→5.场景学习→08.Backup Volume→1.概述与配置
查看>>
进阶之路(基础篇) - 012 Arduino IDE 添加DHT11传感器第三方库的方法
查看>>
详谈js面向对象 javascript oop,持续更新
查看>>
Javaweb Tomcat 项目部署方式
查看>>
文字半透明显示在图片上
查看>>
express简单原理
查看>>
ubuntu安装spark on yarn
查看>>
linux网络 (一):网络配置
查看>>
基础练习 十进制转十六进制
查看>>
关于这次软件以及pda终端的培训
查看>>
react 生命周期
查看>>
jQuery上传插件Uploadify 3.2在.NET下的详细例子
查看>>
spring11----基于Schema的AOP
查看>>
解决input框自动填充为黄色的问题
查看>>
音视频基础知识(一)
查看>>
JAVA⑤
查看>>