Issue
When I'am trying to export my project to a executable .jar-file then configuration files like hibernate.cfg.xml or log4j-properties are not exported into the jar. I have to add them manually to the archieve. The files are located in the /target/ folder in the root folder of the project.
How do I get Eclipse to export the config files too?
Solution
Just create a resources folder parallel to your source/src folder, and keep your configuration files in it.
Answered By - Abhishek Anand