-->
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: CGLIB includes the ASM library; no need for additional .jar
PostPosted: Wed Apr 20, 2005 1:32 pm 
Newbie

Joined: Thu Aug 12, 2004 4:11 pm
Posts: 1
Location: Atlanta, GA
Hibernate version: 2.1.8
Name and version of the database you are using: DB2 v7 for zOS

I noticed that a number of users seem to have an additional copy of the ASM library (asm*.jar) in their WEB-INF/lib files like myself. I was under the impression that CGLIB 2.0.2 was making use of this library. Upon further investigation, I realized that CGLIB already has the ASM library packaged in its .jar for 2.0.2, so there is no need for additional ASM libraries if Hibernate/CGLIB is the only thing using it in your application. A post reply from CGLIB developer baliukas seems to confirm this:

org/objectweb/asm/Type

Remove your superfluous ASM libraries, as they can lead to some rather esoteric ClassCastException and NoClassDefFoundError exceptions that are not immediately obvious to the average Hibernate user.

Thanks,

_________________
Barry Hawkins
weblog: www.yepthatsme.com


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.