Joined: Wed Dec 01, 2004 2:21 am Posts: 12
|
hi,
i checked the dtd and that tag is there. i have also downloaded the latest hibernate jar file. but still i get a fatal error in a message box ! as follows before even executing the command(in parsing cfg.xml or maybe before it) :
java.lang.IllegalAccessError
at net.sf.cglib.core.ClassEmitter.setTarget(ClassEmitter.java:47)
at net.sf.cglib.core.ClassEmitter.<init>(ClassEmitter.java:39)
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
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:796)
at model.ir.kafa.mfaeadmin.com.util.HibPerMan.buildSessionFac(HibPerMan.java:108)
at model.ir.kafa.mfaeadmin.com.util.HibPerMan.initial(HibPerMan.java:62)
at ir.kafa.mfaeadmin.service.inventory.testHibernate.set(testHibernate.java:54)
at ir.kafa.mfaeadmin.service.inventory.testHibernate.main(testHibernate.java:29)
|
|