sore
Feb 10th, 2006, 07:31 PM
I have configured a hibernateTemplate in my -servlet.xml file.
<bean id="hibernateTemplate" class="org.springframework.orm.hibernate.HibernateTemplat e">
<property name="sessionFactory">
<ref local="mySessionFactory"/>
</property>
</bean>
I found a Spring jar with the hibernateTemplate in it, but I now get the error
Error registering bean with name 'hibernateTemplate' defined in ServletContext resource [/WEB-INF/sting-servlet.xml]: Class that bean class [org.springframework.orm.hibernate.HibernateTemplat e] depends on not found; nested exception is java.lang.NoClassDefFoundError:
I have checked the application in tomcat, and it does have the spring.jar with the class HibernateTemplate in the lib folder.
Anyone have any ideas?
<bean id="hibernateTemplate" class="org.springframework.orm.hibernate.HibernateTemplat e">
<property name="sessionFactory">
<ref local="mySessionFactory"/>
</property>
</bean>
I found a Spring jar with the hibernateTemplate in it, but I now get the error
Error registering bean with name 'hibernateTemplate' defined in ServletContext resource [/WEB-INF/sting-servlet.xml]: Class that bean class [org.springframework.orm.hibernate.HibernateTemplat e] depends on not found; nested exception is java.lang.NoClassDefFoundError:
I have checked the application in tomcat, and it does have the spring.jar with the class HibernateTemplate in the lib folder.
Anyone have any ideas?