Erste Schritte... Problem mit Hibernate

Hallo zusammen!

Ich bin gerade dabei, mich in das Thema Java EE einzuarbeiten, und zwar mit dem Hibernate-Buch von Galileo (hier das erste Kapitel, darauf bezieht sich auch die Frage).

Ich habe das Kapitel durchgearbeitet (großenteils sogar verstanden! :)) und das Beispiel abgetippt, bekomme es aber nicht zum Laufen:

Code:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.ExceptionInInitializerError
	at de.laliluna.example.TestExample.clean(TestExample.java:63)
	at de.laliluna.example.TestExample.main(TestExample.java:12)
Caused by: org.hibernate.HibernateException: /hibernate.cfg.wml not found
	at org.hibernate.util.ConfigHelper.getResourceAsStream(ConfigHelper.java:170)
	at org.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:2146)
	at org.hibernate.cfg.Configuration.configure(Configuration.java:2127)
	at org.hibernate.cfg.AnnotationConfiguration.configure(AnnotationConfiguration.java:211)
	at de.laliluna.hibernate.InitSessionFactory.<clinit>(InitSessionFactory.java:16)
	... 2 more

Kann wenig mit diesen Fehlermeldungen anfangen und wäre für Hilte und Tipps sehr dankbar.
 
Zurück