-->
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.  [ 3 posts ] 
Author Message
 Post subject: ehcache / cglib
PostPosted: Tue Mar 16, 2004 8:49 am 
Newbie

Joined: Thu Nov 06, 2003 8:32 am
Posts: 5
Hi

I am trying to use ehcache 0.7
with the latest hibernate 2.1.1

After much fiddling, I have managed to make things work by including
cglib-2.0.jar
and an old version of cglib-asm.jar

(without the cglib-asm, I get:
java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory)

Why this confusion, and why are the correct files not shipped with hibernate? (the cglib jar that ships with hibernate fails to work as well)

Thanks, al


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 16, 2004 9:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Just use all the jars shipped with hibernate, and remove all old jars from the classpath. This should work.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 16, 2004 10:03 am 
Newbie

Joined: Thu Nov 06, 2003 8:32 am
Posts: 5
thanks, it did


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.