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.len...@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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org