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

Configuratuion Couldn't Parse

 
Shahir Deo
Ranch Hand
Posts: 80
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I am new to Hibernate , and trying to run a program using Hibernate.

Library: hibernate-release-4.1.11.Final
Java : 1.7
IDE : Eclipse
Database: Oracle10g
Driver : ojdbc14

Using Annotation with hibernate.cfg.xml file i tried running a program but i got an exception like:

org.hibernate.HibernateException: Could not parse configuration: /hibernate.cfg.xml

How Can i solve this??

Thanks
 
Paul Clapham
Sheriff
Posts: 21567
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would look at the rest of the stack trace to find out more information about why that happened. It might be because the config file was malformed, or because it couldn't be found. Go ahead and post the stack trace if you need help with interpreting it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic