struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Security Management" <>
Subject Error autowiring an interface
Date Fri, 06 Mar 2009 16:20:18 GMT
So, I have a jsp form that uses:

<s:textfield name=""/> and things like that.

The action's method for getUser provides an IUser (an interface).

The instantiated class is provided by a dao provider injected by Spring, but
all the jsp sees is the IUser type.

Now, it works great getting the form generated, but when submitting, I get:

2009-03-06 10:54:48,315 [http-8080-Processor24] ERROR
com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler - Could not
create and/or set value back on to object
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'com.blah.auth.IUser': Could not resolve matching constructor

Any suggestions?  Google is not helpful, strangely enough.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message