jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes How to find JARs without TLDs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to find JARs without TLDs" Watch "How to find JARs without TLDs" New topic

How to find JARs without TLDs

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
I am getting this message in my tomcat console.

org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: 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.

I have already added this to my log4j.properties file.

But I still get the same message and I do not see list of JARs without TLDs.
Daya Moon

Joined: Aug 06, 2013
Posts: 4
you can edit the file located under ${catalina.home}/conf/logging.properties setting org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE,
restart tomcat and then post the output? tomcat is not complaining about superfluous jars, but about missing tlds definitions and adjusting the log level will show you some more details
(it will show you where tomcat is looking for the missing tlds and a suggestion on how to solve your issue)
from http://stackoverflow.com/questions/14375673/tomcat-7-jsp-compiler-emits-unneeded-jar-warning
it was what helped me...
subject: How to find JARs without TLDs
Similar Threads
Help tracing an embedded for loop in an array
Method call bypassing?
Reading Java Mail
pagenotfound for struts2.1.8
Showing not able to find FormTag .please help