| When setting a multi-level context path as described in Tomcat https://tomcat.apache.org/tomcat-10.1-doc/config/context.html#Naming files loaded from webjars fail to be loaded by the browser because their generated URL is partly URL encoded. This occurs inside the method ExtendedURL#encodeSegment(String value) which will URL encode the / from a multi-level context path into %2F, breaking the URL and leading to a HTTP error code 404 Not Found |