Bonjour
Je dev une app avec Hibernate annotation voici mon erreur
quelqu'un a une solution??
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 INFO: Configured SessionFactory: null Initial SessionFactory creation failed.java.lang.NoSuchMethodError: org.hibernate.util.ReflectHelper.classForName(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Class; Exception in thread "main" java.lang.ExceptionInInitializerError at util.HibernateUtil.<clinit>(HibernateUtil.java:16) at test.Example1.main(Example1.java:20) Caused by: java.lang.NoSuchMethodError: org.hibernate.util.ReflectHelper.classForName(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Class; at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:752) at util.HibernateUtil.<clinit>(HibernateUtil.java:11) ... 1 more
Partager