I'm developing a JSF application that uses a jar that I already have. This jar holds the application business logic and deals with a database. When I'm running unit tests in the jar application I could read/write/etc to the database (I have a .properties file with the database connection data).
In my JSF application I use that jar and when it needs to do some database stuff I get an "java.io.FileNotFoundException: etc\nm-hms-recipe.properties (The system cannot find the path specified) exception".
I already checked and the file is inside the jar that's is being used by my JSF application.
Sorry for my English, can anyone help? Thanks.