When deploying a web application as a non-exploded WAR file (.war) on Tomcat 10.1.x (with the configuration unpackWARs="false"), ClassGraph fails to correctly identify and scan the classes and jars located inside the application's WEB-INF/classes and WEB-INF/lib directories.
The classpath scan only succeeds when unpackWARs="true" (default value), indicating an issue with how the ClassLoader Handler manages resource URLs within the compressed WAR archive.
When deploying a web application as a non-exploded WAR file (
.war) on Tomcat 10.1.x (with the configurationunpackWARs="false"), ClassGraph fails to correctly identify and scan the classes and jars located inside the application'sWEB-INF/classesandWEB-INF/libdirectories.The classpath scan only succeeds when
unpackWARs="true"(default value), indicating an issue with how the ClassLoader Handler manages resource URLs within the compressed WAR archive.