This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Frameworks » Spring
Reply locked New topic

Bean property is not readable.

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 217
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.
Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

Seems to be a similar problem to the one being discussed here:

Locking this thread

[How To Ask Questions][Read before you PM me]
I agree. Here's the link:
subject: Bean property is not readable.
It's not a secret anymore!