jsf问题,大家帮帮忙

来源:百度知道 编辑:UC知道 时间:2024/09/23 00:37:35
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

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

exception

javax.servlet.ServletException: Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /login.jsp][Class: javax.faces.component.html.HtmlForm,Id: _idJsp0][Class: javax.faces.component.html.HtmlInputText,Id: username]}
javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)

root cause

javax.faces.FacesException: Could not retrieve value of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /login.jsp][Class: javax.faces.component.html.HtmlForm,Id: _idJsp0][

Could not retrieve value of component

有一个表单的属性没有对应的字段,或者字段没有对应的属性。

你仔细检查一下吧,特别是 id 和 username 注意大小写和拼写问题

问题好多.我们要看源码...你给我们这个你让我们怎么看.

仔细检查代码,多是拼写错误