-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: InvalidMappingException: Unable to read XML
PostPosted: Fri Sep 02, 2011 9:34 am 
Newbie

Joined: Fri Sep 02, 2011 9:17 am
Posts: 1
Hello all!

I have an application which consists of so far 3 executables which I have as separate projects. I also have a Core project (module) which is shared (included) by all of them. The Core module includes a few common classes such as those for configuration and connecting to a database and a few config files (hibernate.cfg.xml, *.hbm.xml).

Now, this is where I have a problem. 2 of the executables work just as they should. The third one ends up crashing at the start with
Code:
org.hibernate.InvalidMappingException: Unable to read XML
which is caused by
Code:
org.dom4j.DocumentException: null Nested exception: null


The exception refers to reading the hbm.xml mapping files. However, it's confusing because the mapping files and everything work in my first 2 executables but fail for some reason when I launch the third one. I have the same libraries on classpath.

Can you please try to help me find the problem?
Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.