I get the following error, but only after about 10 mins after a server
restart. To fix, I need to restart the server.

Unable to instantiate Action, xxx,  defined for 'aaa' in namespace '/'
Error creating bean with name 'xxx' defined in class path resource
[spring/struts2/yyy.xml]:
Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'model' of bean class [zzz]: Bean property 'model' is not writable or has an
invalid setter method. Does the parameter type of the setter match the
return type of the getter?

Needless to say the getter and setter methods are of the correct type and
the property is publically writable.

My model and struts actions are defined in Spring.
-- 
View this message in context: 
http://www.nabble.com/Spring-injected-model-results-in-error-for-ModelDriven-action-after-10mins-tp15854255p15854255.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to