NULL JarScanner
Disables all class path scanning by Tomcat. This improves Tomcat startup time but makes it no longer Servlet API Spec compliant since TLDs and @HandlesTypes
are no longer picked up.
Usage
<dependency>
<groupId>com.github.marschall</groupId>
<artifactId>null-jarscanner</artifactId>
<version>1.0.0</version>
</dependency>
Copy the JAR to $CATALINA_BASE/lib
the JAR must not be in your web application.
Use the following META-INF/context.xml
<Context>
<JarScanner className="com.github.marschall.nulljarscanner.NullJarScanner" />
</Context>
Documentation
See the official Jar Scanner documentation.