Hi i am working with an application which uses hibernate.
I am using hibernate-2.0.3.jar and cglib-asm-1.0.jar.
when i try to deploy my application i am facing the following application
16:44:28,862 ERROR [[/sample]] StandardWrapper.Throwable
java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory
at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:297)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:627)
at com.xyz.sample.util.ServiceLocator.getDataSource (ServiceLocator.java:190)
at com.xyz.sample.web.servlet.ReportServlet.initializeResourceLookups(ReportServlet.java:912)
at com.xyz.sample.web.servlet.ReportServlet.init(ReportServlet.java:668)
at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
............
........
Would like to know which version of cglib jar is compatiable with the hibernate-2.0.3.jar. Advice me if have to use different version of hibernate.
System environment is:
Application Server: Geronimo 1.1.1, JDK 1.5
Build using Maven 2.0.4
Eclipse 3.2.1
Please advice me how to proceed.
_________________ Thanks and Regards,
Hari Krishna
|