Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate.cfg.xml not found

 
gsudhakar reddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am working with hibernate in interactive development environment like eclipse.
i am getting the following error. if anyone helps me would appreciated much.

net.sf.hibernate.HibernateException: /hibernate.cfg.xml not found
at net.sf.hibernate.cfg.Configuration.getConfigurationInputStream(Configuration.java:872)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:896)
at net.sf.hibernate.cfg.Configuration.configure(Configuration.java:883)
at com.ats.axsis.base._BaseRootDAO.initialize(_BaseRootDAO.java:50)
at com.ats.axsis.base._BaseRootDAO.initialize(_BaseRootDAO.java:37)
at com.ats.axsis.DeptTest.main(DeptTest.java:22)
Exception in thread "main" sudhakarareddy_g@rediffmail.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic