Hibernate Books

All times are UTC - 5 hours [ DST ]

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter
PostPosted: Fri Aug 26, 2011 6:16 am 

Joined: Fri Aug 26, 2011 6:07 am
Posts: 1
j'utilise hibernate 2 sous eclipse et je reçois toujours cette erreur :
Exception in thread "main" java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
   at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
   at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
   at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
   at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
   at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
   at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
   at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
   at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
   at net.sf.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:237)
   at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:805)
   at model.HibernateUtil.<clinit>(HibernateUtil.java:11)
   at Test.main(Test.java:9)

les librairies installées sont : cglib-full-2.0.2.jar et asm.jar.
comment puis-je résoudre ce problème?

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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.