Skip to content

[Bug] Tomcat 10.1.x WebappClassLoader scan fails when unpackWARs="false" (Using ClassGraph 4.8.179) #925

@clequin-tibco

Description

@clequin-tibco

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions