Created attachment 36414 [details] the patch fixing the issue of several resources registerd to /WEB-INF/classes When we want to map more than one directory into /WEB-INF/classes resource, there is problem, only first one is taken into account by org.apache.catalina.loader.WebappClassLoaderBase. Context example: <Context path="/webapp"> <Resources> <PostResources base="/path/to/ledge-components/target/classes" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/classes"/> <PostResources base="/path/to/some-api/target/classes" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/classes"/> </Resources> </Context> The patch attached fixes this issue.
Thanks for the report and especially for the patch. Fixed in: - trunk for 9.0.15 onwards - 8.5.x for 8.5.38 onwards