-->
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: Hibernate and Embedded EJB Container
PostPosted: Mon Jan 25, 2010 9:27 pm 
Newbie

Joined: Mon Jan 25, 2010 9:16 pm
Posts: 2
I was trying to write some tests, using the new embedded EJB container that comes with Glassfish v3, on some EJBs that use HibernateJPA. But I'm always getting the same error:
Code:
java.lang.NoSuchMethodError: org.objectweb.asm.ClassReader.accept(Lorg/objectweb/asm/ClassVisitor;I)V
        at org.glassfish.deployment.common.GenericAnnotationDetector.scanArchive(GenericAnnotationDetector.java:100)

I googled this exception and found out that this should be some incompatibility between the differents CGLIB versions used by these two APIs. But I didn't find a way to solve this.
Does anyone know a way to run my "Hibernate based" EJBs in this Glassfish embedded EJBContainer?


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.