Changed hibernate db url to specified in code with a relative path rather than in config file with absolute path.