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