Hi,
I am trying Hibernate 3.3.0.GA with Spring 2.5.5 and Struts2 (2.0.14).
And I am getting the following exception:
Code:
Cannot resolve reference to bean 'hibernateTemplate' while setting bean property 'hibernateTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateTemplate' defined in class path resource [hibernate-dao.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/JDBCException
Though, the class JDBCException is there in the hibernate-core-3.3.0.GA.jar and i have added the maven dependency for hibernate-core properly.
Does any one has some idea about the above exception?
Thanks,
Guntas