I have the following line in my default.properties file :
json.countries = json/countries.json
I load the properties file in spring pretty easily, using the following :
@PropertySource(value="classpath:config/default.properties")
the json directory lives inside src/main/resources.
This makes the full path /src/main/resources/json/countries.json
I already know how to parse the JSON file etc, but no matter what the hell I seem to do, my application cannot see that file.
Anyone know how I can get this to work?