dcorreal
Feb 10th, 2006, 12:06 PM
Hi,
I have two spring applications. One of them, the second one, has a bean that extends AbstractWizardFormController.
<bean id="logonForm" class="uniandes.cumbia.portal.web.LogonFormController">
<property name="pages">
<list>
<value>login</value>
</list>
</property>
</bean>
If I make a deploy (Jboss 4.0.1SP1) of the second application after the first application , I get this error:
11:36:34,299 ERROR [Engine] ----- Root Cause -----
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'logonForm' defined in ServletContext resource [/WEB-INF/cumbiaportal-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyExcep tion: Invalid property 'pages' of bean class [uniandes.cumbia.portal.web.LogonFormController]: Bean property 'pages' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyExcep tion: Invalid property 'pages' of bean class [uniandes.cumbia.portal.web.LogonFormController]: Bean property 'pages' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
But, If I installed the second application at the beginning, before the first application, everything is ok and the two applications work just fine.
I am using Spring version 1.2.4
Thanks in advance !!
I have two spring applications. One of them, the second one, has a bean that extends AbstractWizardFormController.
<bean id="logonForm" class="uniandes.cumbia.portal.web.LogonFormController">
<property name="pages">
<list>
<value>login</value>
</list>
</property>
</bean>
If I make a deploy (Jboss 4.0.1SP1) of the second application after the first application , I get this error:
11:36:34,299 ERROR [Engine] ----- Root Cause -----
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'logonForm' defined in ServletContext resource [/WEB-INF/cumbiaportal-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyExcep tion: Invalid property 'pages' of bean class [uniandes.cumbia.portal.web.LogonFormController]: Bean property 'pages' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyExcep tion: Invalid property 'pages' of bean class [uniandes.cumbia.portal.web.LogonFormController]: Bean property 'pages' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
But, If I installed the second application at the beginning, before the first application, everything is ok and the two applications work just fine.
I am using Spring version 1.2.4
Thanks in advance !!