-->
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.  [ 2 posts ] 
Author Message
 Post subject: org/objectweb/asm/CodeVisitor
PostPosted: Sat Oct 22, 2005 6:18 am 
Newbie

Joined: Sat Oct 22, 2005 6:07 am
Posts: 1
Hi,
hibernate uses asm.jar and
i use asm-2.0.jar to generate bytecode

but these two JARs are incompatible so i get an error message like:

Problem starting service jboss.har:service=Hibernate
java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)



How can i fix this problem? Here are the versions of hibernate and aplication server:

Hibernate version: 3.1 beta 1
application Server : jboss 4.0.2


Top
 Profile  
 
 Post subject: Re: org/objectweb/asm/CodeVisitor
PostPosted: Mon Oct 24, 2005 3:45 am 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
download cglib-nodep.jar from http://cglib.sf.net . "instrument" task will not work with this jar, if you need this task then you will need to build hibernate yoursel (using jarjar tool)


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