Hello,
I’m testing a hessian service with spring and hibernate under tomcat 5.5.9. Using MyEclipse Build id: 20050829-4.0.0-GA
Trying to access the service, I’m getting:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘statusSessionFactory’ defined in ServletContext resource [/WEB-INF/services-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: net/sf/hibernate/cfg/Configuration
I’ve set myeclipse to deploy the jars as well, and hibernate3.jar is in WEB-INF/lib.
Looking in hibernate3.jar suggests that the class should be:
org/hibernate/cfg/Configuration
instead of net/sf/hibernate/cfg/Configuration.
I have no idea how to fix it.
Thanks.