Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

invalid property of bean class: return type of getter match the setter?

768664May 17 2010 — edited May 17 2010
*org.springframework.web.util.NestedServletExceptio n: Request processing failed; nested exception is org.springframework.beans.NotReadablePropertyExcep tion: Invalid property 'oldpassword' of bean class [ETPS.web.LoginForm]: Bean property 'oldpassword' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?*
org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:656)
org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:560)
javax.servlet.http.HttpServlet.service(HttpServlet .java:637)
javax.servlet.http.HttpServlet.service(HttpServlet .java:717)


hi! i am making this java project using the spring framework and im kind of new to it. i keep getting the error above and i am really clueless on what i am missing. i have this oldpassword in my LoginForm class and i am sure i have set the setters and getters correctly. i am hoping someone here could help me with this. thanks in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2010
Added on May 17 2010
3 comments
5,856 views