Hi
N.B : I am sorry for my english and I hope that you can anderstand what I want to say 😆 !!!!
can you please explain to me how MyEclipse work towards Hibernate
in applicationContext.xml file, sessionFactory is declared by class org.springframework.orm.hibernate3.LocalSessionFactoryBean
and in the DAO classes there is import org.springframework.orm.hibernate3.support.HibernateDaoSupport
so I suppose that hibernate3.* is the used version !! so why this version did not be loaded by myEclipse like it done for sring jars ?!!
and when I load this version I have the following exception :
java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.LocalSessionFactoryBean
then I delete 3 , I declare sessionFactory like this :
<bean id=”sessionFactory” class=”org.springframework.orm.hibernate.LocalSessionFactoryBean”>
I have this exception
java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
Can you please tell me why ?!!!
thanks
Mimi