I have a class which I use as a spring bean. The bean is defined in the applicationContext.xml like:
applicationContext.xml
For application.properties (yml) approach:
someFiles=file:/some/path/*.someExtension
Try the following, if you're willing to use an array instead of a List:
List
@Value("classpath*:../../cssDir/*.css") private Resource[] cssFiles;