Fixed "Could not find hibernate.cfg.xml" error by editing the build.xml file. Removed duplicate files. Building is now successful. Also went through with a clean build, got rid of the junk.