
Hi all, sorry if this is not the pright place to post this...
im facing a trouble with constructor arguments, because i need to set 2 diferent constructor-arg in 1 bean:
my applicationContext-dao.xml looks like this:
<bean id="tablesDao" class="sv.com.proyect.dao.hibernate.Hbm">
<constructor-arg value="sv.com.proyect.model.tdc.TipoDeCuentaContable"/>
<constructor-arg value="sv.com.proyect.model.tdc.TipoDeCuentaPresupuestaria"/>
<property name="sessionFactory" ref="sessionFactory"/>
</bean>
when i run the web proyect, i get this message on the web:
2 constructor arguments specified but no matching constructor found in bean 'tablesDao' (hint: specify index and/or type arguments for simple parameters to avoid type ambiguities)
i would appreciate any idea or help on this
Thanks in advance!!!
Turk182
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.