posted 16 years ago
I am trying to move a spring based project from hibernate 2.x to hibernate3
I have swapped out the hibernate jar, changed the references in my xml from net.sf.hibernate to org.hibernate and am using
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
.
.
.
</bean>
as my sessionFactory
I am getting the following
java.lang.NoClassDefFoundError: net/sf/hibernate/SessionFactory
which is a hibernate 2.x class.
Any suggestions on how to resolve this dependancy?
thanks in advance
doug anderson