PathResourceResolver.getResource()
does not log warning if Resource#getURL()
throws exception
#31623
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
If
ServletContextResource.getURL()
throws aFileNotFoundException
becauseServletContext.getResource(String)
returnsnull
, thenorg.springframework.web.servlet.resource.PathResourceResolver.getResource(String, Resource)
does not log a warning as intended.The text was updated successfully, but these errors were encountered: