I was getting the same error and I was also following the telusko video. What I did was instead of right clicking on the project folder to create new hibernate.cfg.xml file you should click on the folder in which App.java is present (com.Apoorv.DemoHibernate in your case), and it works fine for me. Maybe in new updates it will be fixed properly.