码迷,mamicode.com
首页 > 编程语言 > 详细

Caused by: javax.el.PropertyNotFoundException: Property [userName] not found on type [java.lang.String]

时间:2019-10-12 13:15:19      阅读:84      评论:0      收藏:0      [点我收藏+]

标签:ast   servlet   ssi   expr   wrap   parser   service   表达式   string   

Caused by: javax.el.PropertyNotFoundException: Property [userName] not found on type [java.lang.String]
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:260)
at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:212)
at javax.el.BeanELResolver.property(BeanELResolver.java:347)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:92)
at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:110)
at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:190)
at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:944)
at org.apache.jsp.main_jsp._jspService(main_jsp.java:120)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
... 61 more

意思就是沒有找到el表达式中的属性,检查一下是不是属性名写错了

Caused by: javax.el.PropertyNotFoundException: Property [userName] not found on type [java.lang.String]

标签:ast   servlet   ssi   expr   wrap   parser   service   表达式   string   

原文地址:https://www.cnblogs.com/jjking/p/11660571.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!