Exception in thread "main" java.lang.NoClassDefFoundError: org/hibernate/cfg/HbmBinder$SecondPass
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.hibernate.cfg.Configuration.add(Configuration.java:379)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:418)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:473)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1414)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1382)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1363)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1339)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1274)
at ch.iict.iscia.eascia.persistance.HibernateUtil.initSessionFactory(HibernateUtil.java:81)
at ch.asdf.ff.eascia.persistance.HibernateUtil.<clinit>(HibernateUtil.java:59)
at ch.asdf.ff.eascia.Main.main(Main.java:65)
Caused by: java.lang.ClassNotFoundException: org.hibernate.cfg.HbmBinder$SecondPass
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 23 more
Partager