Resources and config loading in maven project
问题 I'm using Maven for desktop applycation. I read about Maven standart directory layout and I have this project structure for now: App |-- pom.xml `-- src |-- main |-- java | `-- java classes |-- resources | `-- images | `-- app images `--config `--config.xml I want to find a way to load my resources and config files. I read some articles and topics and found this (simplified example from my code): //class for loading config public class Preferences { public Preferences() { InputStream image =