AF
HomeTagSubmit NotesAsk AnythingLoginSubscribe Us
AF
1. Feel Free to ask and submit anything on Anyforum.in and get satisfactory answer
2. Registration is not compulsory, you can directly login via google or facebook
3. Our Experts are looking for yours ?.



hibernate-exception-handling: why i am getting org.hibernate.invalidmappingexception?

while i am running the java application(hibernate) the below error message is comming i have just created the files
employee.java,
employee.hbm.xml,
hibernate.cfg.xml,
test.java

"org.hibernate.InvalidMappingException: Could not parse mapping document from resource Employee.hbm.xml"

can you please tell me where is the problem may occurring?

hibernate x 23
exception-handling x 24
Posted On : 2014-06-18 00:06:55.0
profile Rishi Kumar - anyforum.in Rishi Kumar
523188245674
up-rate
-1
down-rate

Answers


The exception is could not parse mapping document that is about your xml files(mapping files) not being well-formatted. Check all tags in file they are properly open and close. or there may be some spelling mistakes also...

Posted On : 2014-06-18 00:17:26
Satisfied : 1 Yes  1 No
profile Saksham Kumar - anyforum.in Saksham Kumar
73433936114
Reply This Thread
up-rate
4
down-rate
Comments
Thanks so much bro!
profile Rishi Kumar - anyforum.in Rishi Kumar
523  1882  45674
Posted On :2014-06-18 00:18:26.0
Leave a Comment



Post Answer
Please Login First to Post Answer: Login login with facebook - anyforum.in