hibernate.cfg.xml and other hbm file you have kept in WEB-INF directory. You should need to place inside /WEB-INF/classes.
Try this one.
Joined: Aug 02, 2009
Yes I did. But I can't solve.
Actually, I think the problem is not with hibernate.cfg.xml file and .hbm.xml files. It might be because of lib files.
As for the first error, it said " java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder ".
When I take a look inside slf4j.jar, I don't see any such package "org/slf4j/impl/....". Something wrong?
This is how I write in my servlet