I'm trying to run the Controller tests from the tutorial.  I used 'Food'
instead of 'Person', in all cases.

When the tests run, I'm getting:

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'foodFormController' defined in ServletContext resource
[/WEB-INF/dispatcher-servlet.xml]: Error setting property values; nested
exception is org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [$Proxy24] to required type
[org.appfuse.service.GenericManager] for property 'foodManager'; nested
exception is java.lang.IllegalArgumentException: Cannot convert value of
type [$Proxy24] to required type [org.appfuse.service.GenericManager] for
property 'foodManager': no matching editors or conversion strategy found
Caused by: org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [$Proxy24] to required type
[org.appfuse.service.GenericManager] for property 'foodManager'; nested
exception is java.lang.IllegalArgumentException: Cannot convert value of
type [$Proxy24] to required type [org.appfuse.service.GenericManager] for
property 'foodManager': no matching editors or conversion strategy found
Caused by: java.lang.IllegalArgumentException: Cannot convert value of type
[$Proxy24] to required type [org.appfuse.service.GenericManager] for
property 'foodManager': no matching editors or conversion strategy found

What am I missing?  Is it expecting a generic DAO/Manager?  How do I plug in
a non-generic, which is what the tutorial has helped me build?  Or is it
something else entirely?  And what the heck is [$Proxy24]?  If that gave me
a value, I should be able to debug this farther.
-- 
View this message in context: 
http://www.nabble.com/value-of-type--%24Proxy24---tf3275374s2369.html#a9108705
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to