struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: [S2] Convention plugin + Spring
Date Fri, 02 Jan 2009 22:31:06 GMT
That code is a "fallback" to create an instance using a default
constructor, when a UnsatisfiedDependencyException is thrown from
spring. Take a look at SpringObjectFactory line 162. Something is
wrong in your spring mapping (the "employeeManager" bean maybe?)

musachy

On Fri, Jan 2, 2009 at 5:28 PM, Lukasz Lenart
<lukasz.lenart@googlemail.com> wrote:
> Spring config:
>
>    <bean id="employee"
> class="pl.org.lenart.ems.web.actions.EmployeeAction"
> scope="prototype">
>        <constructor-arg ref="employeeManager"/>
>    </bean>
>
> with JUnit test there was no problem
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message