A warning appears because Tomcat scans all Jars for TLDs (tag tag definitions).
Step 1 . To find out which JAR servers throw this warning, insert it in the following line: tomcat / conf / logging.properties
org.apache.jasper.servlet.TldScanner.level = FINE
You should now be able to see warnings with details from which JARs trigger an internal warning.
Step 2 Since skipping unnecessary JARs during scanning can improve startup time and JSP compilation time, we will skip unnecessary JARS in the catalina.properties file. Here you have two options -
- List all the JARs under
tomcat.util.scan.StandardJarScanFilter.jarsToSkip . But it can become cumbersome if you have a lot of jugs or if the banks keep changing. - Alternatively Insert
tomcat.util.scan.StandardJarScanFilter.jarsToSkip=* to skip all banks
Now you should not see the above warnings, and if you have a significant application, this should save you significant time in deploying the application.
Note. Tested in Tomcat8
HopeKing Aug 18 '17 at 8:12 2017-08-18 08:12
source share