File path issue

I am working on a project on IntelliJ 9.0.3 this porject contains multiple modules and configured based on spring as following:
- Porject1
      - Module 1
            - resources\xyz.xml
      - Module 2
            - resources\abc.xml
Where Module 1 depends on Module 2.
When trying to run Module 1, FileNotFoundException is thrown indicating that abc.xml cannot be found and the absolute path is c:\modul2\abc.xml where the project directory is omitted from the file path and this causes the exception.
I am wondering how to configure IntelliJ in order to detect or include the directory folder in the file path?

Please sign in to leave a comment.