I\'d like to add a resource folder relative to the location of the jar (in addition to packaged resources within my jar), for example:
/Directory Applica
@Override public void addResourceHandlers(ResourceHandlerRegistry registry) { registry .addResourceHandler("/files/**") .addResourceLocations("file:/location1/", "file:/location2/"); }
access file using http://localhost:{port}/files/image.png