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 <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

