Я пытаюсь настроить обслуживание контента stati c на основе языкового параметра в URL-адресе, и я получаю 404
, какое отображение неверно в следующем коде?
![enter image description here](https://i.stack.imgur.com/s8rXT.png)
private PathResourceResolver getResolver() {
return new PathResourceResolver() {
@Override
protected Resource resolveResourceInternal(HttpServletRequest request, String requestPath, List<? extends Resource> locations, ResourceResolverChain chain) {
logger.info("REQ PATH :: " + requestPath + " " + locations);
return super.resolveResourceInternal(request, requestPath, locations, chain); //To change body of generated methods, choose Tools | Templates.
}
};
}
И Stati c Структура папок:
![enter image description here](https://i.stack.imgur.com/tfhOZ.png)
Ниже полные журналы, которые показывают 404
, когда я пытаюсь получить доступ к URL https://localhost:8443/fr
![enter image description here](https://i.stack.imgur.com/l0w7H.png)