when running the service from command line I faced this error:
SEVERE: java.io.FileNotFoundException: property file 'config.prop' not found in the classpath
java.io.FileNotFoundException: property file 'config.prop' not found in the classpath
possibly you will not face this if you are running the service from IDE.
the solution was to rearrange the folder structure to conform with mvn structure:
src>main>java>{all packages and sources}
src>main>resources {here mvn expects to find the config.prop file}
when running the service from command line I faced this error:
SEVERE: java.io.FileNotFoundException: property file 'config.prop' not found in the classpath java.io.FileNotFoundException: property file 'config.prop' not found in the classpath
possibly you will not face this if you are running the service from IDE.
the solution was to rearrange the folder structure to conform with mvn structure:
src>main>java>{all packages and sources} src>main>resources {here mvn expects to find the config.prop file}