• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find JARs without TLDs

 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic