PathResourceResolver.getResource()
does not log warning if Resource#getURL()
throws exception #31623
Closed
Description
If ServletContextResource.getURL()
throws a FileNotFoundException
because ServletContext.getResource(String)
returns null
, then org.springframework.web.servlet.resource.PathResourceResolver.getResource(String, Resource)
does not log a warning as intended.