I try to load hibernate.cfg.xml in a submodule (ssf/samples/customcontroller) of an existing project. For this project there exists a build.xml which builds and deploys the proj
I assume that your classpath is set to the src directory. Then you should use
Configuration cfg = new Configuration().configure("resources/hibernate.cfg.xml");