hibernate cfg xml not found intellij
if you are working on IntelliJ Idea then make a folder named "resources" under src\main\java. Open Module setting of your project, select "Modules" from left and in the "sources" tab select the newly created "resources" folder and mark it as "Resources".
Configuration con = new Configuration().configure("hibernate.cfg.xml");
no need to add hibernate.cfg.xml in configure () if u are using default name.