-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory
PostPosted: Wed Dec 05, 2007 9:21 am 
Newbie

Joined: Wed Dec 05, 2007 8:49 am
Posts: 3
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.