Did you implement any test methods for ConfirmationDetails? I followed the description in this thread which worked fine for the compilation but my dao tests failed. Translated to your domain, my test class looks like follows:
public class ConfirmationDetailsDaoTest extends BaseDaoTestCase { private ConfirmationDetailsDao<ConfirmationDetails> confirmationDetailsDao = null; public void setConfirmationDetailsDao(ConfirmationDetailsDao<ConfirmationDetails> confirmationDetailsDao) { this.confirmationDetailsDao = confirmationDetailsDao; } // ... do some tests } I end up with the following exception (translated to your application): org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'confirmationDetailsDao' defined in file [d:\ws\appfuse\comped_new_model\target\test-classes\WEB-INF\applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [net.i2geo.comped.dao.hibernate.ConfirmationDetailsDaoHibernate]: No default constructor found; nested exception is java.lang.NoSuchMethodException: net.i2geo.comped.dao.hibernate.ConfirmationDetailsDaoHibernate.<init>() at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:881) The applicationContext has the following declaration (translated to your application): <bean id="confirmationDetailsDao" class="net.i2geo.comped.dao.hibernate.ConfirmationDetailsDaoHibernate"> <property name="sessionFactory" ref="sessionFactory" /> </bean> Cheers, Martin -- View this message in context: http://www.nabble.com/GenericDao-and-Class-Hierarchy---Approach--tp14672300s2369p19251444.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]