Hi All,
I am learning Hibernate. while Running Sample application specified in hibernate website
http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html i am getting following error
[
java] Initial SessionFactory creation failed.org.hibernate.InvalidMappingException: Could not parse mapping document from resource events/Event.hbm.xml
[java] Exception in
thread "main" java.lang.ExceptionInInitializerError
[java] at util.HibernateUtil.<clinit>(Unknown Source)
[java] at events.EventManager.createAndStoreEvent(Unknown Source)
[java] at events.EventManager.main(Unknown Source)
[java] Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from resource events/Event.hbm.xml
i could not able to find root cause of the problem.
Regards
Rajesh Datla