wood burning stoves 2.0*
The moose likes Spring and the fly likes Bean property is not readable. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply locked New topic
Author

Bean property is not readable.

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hi With spring 3.0.5, nested beans and jsp, I built a form using spring, but the spring form failed to read the bean property.

Error is :

Invalid property 'article' of bean class [LuxuryLiving.manager.pagebean.ProductBean]: Bean property 'article' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?

but my article variable is article.header.

Any suggestion is very much appreciated.
Thanks
Sam
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

Seems to be a similar problem to the one being discussed here:
http://www.coderanch.com/t/599216/Spring/Bean-property-readable

Locking this thread


[How To Ask Questions][Read before you PM me]
 
wood burning stoves
 
subject: Bean property is not readable.
 
Similar Threads
SimpleFormController ReferenceData not working
Bean property is not readable or not found.
Spring can't find bean property in a list element.
form:options tag cause error : Bean property is not readable or has an invalid getter method
Error Reading data from database