File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 229
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!