Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Initializing session Factory in Hibernate

 
vishal shiramshetty
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to Hibernate. Presently i have built an application in netbeans6.1
but i am getting error as hibernate.cfg.xml is not found,
even though i had given each possible path for it.but still it is not working can any one please suggest me to overcome this one :

I had given snippet of error code which i am getting

waiting for your replies


[ August 08, 2008: Message edited by: vishal shiramshetty ]
 
Kuladip Yadav
Ranch Hand
Posts: 162
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you put hibernate.cfg.xml ?
You have to include that into classpath.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic