-->
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: cglib enhancement failed in hibernate 3
PostPosted: Sun Feb 06, 2005 12:17 am 
Newbie

Joined: Sun Feb 06, 2005 12:09 am
Posts: 2
hi i am suing hibernate 3 version. when building the session factory it says the following exception. i disable the hibernte property hibernate.cglib.use_reflection_optimizer false. but i still get the error.


- CGLIB Enhancement failed: org.hibernate.examples.quickstart.Cat
java.lang.IllegalArgumentException: class org.hibernate.examples.quickstart.Cat$
$EnhancerByCGLIB$$1df99b55 is not an enhanced class
at net.sf.cglib.proxy.EnhancerEmitter.setThreadCallbacks(EnhancerEmitter
.java:196)
at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:371)
at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:351)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerato
r.java:193)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:330)



can u please help me in this context.

sanjaya


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 06, 2005 7:57 am 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
Probably you have "old" cglib jar in classpath


Top
 Profile  
 
 Post subject: cglib error
PostPosted: Mon Feb 07, 2005 12:29 am 
Newbie

Joined: Sun Feb 06, 2005 12:09 am
Posts: 2
thank you very much.

sanjaya


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.