Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Error when automatically generating classes
PostPosted: Thu Feb 16, 2012 12:25 pm 
Newbie

Joined: Tue Feb 14, 2012 11:58 pm
Posts: 7
Hi all, I have another beginner question for everyone:

I am trying to automatically generate classes from my reverse engineering file, but Eclipse keeps returning a "NoClassDefFoundError" for net.sf.cglib.core.KeyFactory. Now, I know I can simply download the cglib jar and add it to my build path, but searching around on the web it appears that Hibernate is supposed to be using javaassist instead of cglib (I do not have cglib specified in the properties file).

My question is whether I should just download cglib (it did not come with my Hibernate release 4.1.0), or if it is a problem that it is looking for cglib in the first place? I saw an indication somewhere that cglib has been deprecated.

Thanks,

-TennSeven


Top
 Profile  
 
 Post subject: Re: Error when automatically generating classes
PostPosted: Fri Feb 17, 2012 4:23 am 
Senior
Senior

Joined: Tue Aug 04, 2009 7:45 am
Posts: 124
This is a known bug in hibernate tools for Hibernate4. It will be fixed in 3.3.0.Beta1 release. Please use hibernate 3.5 for code generation now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

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.