首页 新闻 会员 周边 捐助

启动tomcat是出现如下错误

0
[待解决问题]

HTTP Status 500 - javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String


type Exception report

message javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:561)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

 

root cause

javax.el.PropertyNotFoundException: Property 'name' not found on type java.lang.String
	javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:290)
	javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:243)
	javax.el.BeanELResolver.property(BeanELResolver.java:377)
	javax.el.BeanELResolver.getValue(BeanELResolver.java:97)
	org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104)
	org.apache.el.parser.AstValue.getValue(AstValue.java:184)
	org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)
	org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:950)
	org.apache.jsp.dept_005fdemo_jsp._jspService(dept_005fdemo_jsp.java:91)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
A小小高的主页 A小小高 | 菜鸟二级 | 园豆:208
提问于:2017-06-26 18:37
< >
分享
所有回答(2)
0

name属性没有,是不是那里写错了,tomcat运行时不能找不到这个属性。以前也碰见一个类似的错误,在连接数据查表的时候,没有这个列,报错信息类似。希望对你有参考。

DanlV | 园豆:202 (菜鸟二级) | 2017-06-26 19:37

谢谢啦,我检查了好几遍代码,没错,就是出现这样的错误,好是无奈哦,在网上也查了好多资料,也没能解决

 

支持(0) 反对(0) A小小高 | 园豆:208 (菜鸟二级) | 2017-06-26 19:52
0

dept_005fdemo_jsp 这个页面的EL表达式看看,应该是缺少属性

2012 | 园豆:21645 (高人七级) | 2017-06-27 08:00

欧克,谢谢啦

 

支持(0) 反对(0) A小小高 | 园豆:208 (菜鸟二级) | 2017-06-27 21:50
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册