Joined: Mon Sep 05, 2005 3:25 pm Posts: 2
|
Hi
I have just started to use hybernate and reading a tutorial "Road to Hybernate" , i built the first application and i am getting a exception i can't make head or tails out of.
Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: org/objectweb/asm/Type
java.lang.ExceptionInInitializerError
at de.gloegl.road2hibernate.HibernateUtil.<clinit>(HibernateUtil.java:17)
at de.gloegl.road2hibernate.EventManager.main(EventManager.java:11)
Caused by: java.lang.NoClassDefFoundError: org/objectweb/asm/Type
at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:180)
at net.sf.cglib.core.KeyFactory.<clinit>(KeyFactory.java:66)
at org.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:321)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
at de.gloegl.road2hibernate.HibernateUtil.<clinit>(HibernateUtil.java:13)
... 1 more
it's occuring when i try to load the configuration
sessionFactory = new Configuration().configure().buildSessionFactory();
please help
Thanks
|
|