I'm currently developing a J2EE application, specifically using Hibernate and Spring.
I use Mysql as database.
My problem is when I want to add values in my database, this error always appears:
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 SLF4J Error Codes for an explanation.
SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also SLF4J Error Codes
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