Salut les gars,
J'ai entrain de développer une application J2EE, plus précisément en utilisant HIBERNATE et SPRING.
J'ai utilisé Mysql comme base de donnée.
Mon problème est lorsque je veux ajouter des valeurs dans mon base, cette erreur est toujours apparaît :
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/Etudes/2%c3%a8me%20Ann%c3%a9e/Semestre%202/Dev%20Web%202/Seance%201/libHibernate/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/Etudes/2%c3%a8me%20Ann%c3%a9e/Semestre%202/Dev%20Web%202/Seance%201/libHibernate/slf4j-simple-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
log4j:WARN No appenders could be found for logger (org.hibernate.type.BasicTypeRegistry).
log4j:WARN Please initialize the log4j system properly.
Initial SessionFactory creation failed.org.hibernate.HibernateException: /hibernate.cfg.xml not found
Exception in thread "main" java.lang.ExceptionInInitializerError
Partager