I have the hibernate.cfg.xml file in the project root folder.
If I run an application containing:
SessionFactory s
The hibernate.cfg.xml file should be moved to src folder.