Configuration configuration = new Configuration().configure(); проект/src/main/java/utils/HibernateSessionFactoryUtil.java)File hibernateConfigFile = new File("config/hibernate.cfg.xml");
//...
Configuration configuration = new Configuration().configure(hibernateConfigFile);