I'm trying to prevent the...
[localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
...error from showing up for my war file deployment since I have no TLD defined.
There are many questions and answers regarding this issue but they all seem to point to altering Tomcat's global configuration, which I do not want.
How can I, via my war file's local context.xml file, inform the scanner that no TLD exists and therefore a scan and subsequent warning is unnecessary?
First add
logging.propertiesbelow:Second restart tomcat.
Third open
logs/catalina.outand you can find below:Fourth if you don't scan
jcert.jar, you editconf/catalina.properties, addjcert.jartotomcat.util.scan.StandardJarScanFilter.jarsToSkip.Sorry for my poor English.