I am developing spring boot application and I want to inject Collections of resources like this:
@Value("${app.users-location}")
Collection<Resource> csvResources;
inside application.properties I wrote following:
app.users-location=/feed/*.csv
But it doesn't work as expected:
For that situation I expect to see Collection of 5 elements of type Resource.
How can I achieve it ?

The person with nick
m.antkowicz- https://stackoverflow.com/users/4153426/m-antkowiczprovided correct answer but then removed it.
https://stackoverflow.com/a/57373605/2674303
His solution was to use Array instead of list:
I checked it and it really works!!!