spring mvc form标签遇到的问题

错误信息如下:

HTTP Status 500 - org.springframework.beans.NotReadablePropertyException: Invalid property 'id ' of bean class [oa.entity.RoleLevel]: Bean property 'id ' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?


type Exception report

message org.springframework.beans.NotReadablePropertyException: Invalid property 'id ' of bean class [oa.entity.RoleLevel]: Bean property 'id ' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?

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

exception

org.apache.jasper.JasperException: org.springframework.beans.NotReadablePropertyException: Invalid property 'id ' of bean class [oa.entity.RoleLevel]: Bean property 'id ' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:263)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

 

root cause

 

原因:
spring mvc form标签遇到的问题_第1张图片
 

你可能感兴趣的:(spring,mvc,form,SF,itemLabel)