I want to use resources from static directory and this directory may have another subdirectories.
In spring boot application.properties file I am using below key to refer outside directory:C:/custResources/. I am able to refer resources from this directory but not from the subdirectoriese e.g. C:/custResources/1, C:/custResources/2 etc.
spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:/C:/custResources/