geronimo-xbean-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: problems mapping attributes with xbean-spring-3.1
Date Tue, 02 Oct 2007 21:32:00 GMT
On 10/2/07, gOrr <gorrlistas@gmail.com> wrote:

> package test;
> public myClass {
>   private String myAttribute:
>   //getter and setter...
> }
...
> I received this exception:
> Caused by: org.springframework.beans.NotWritablePropertyException: Invalid
> property 'attribute of bean class [test.myClass]: Bean property 'attribute'
> is not writable or has an invalid setter method. Does the parameter type of
> the setter match the return type of the getter?

Hi,

Can you show the entire myClass class with setters and getters?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message