关闭Tomcat的TLD扫描功能

时间:2016-06-24 12:22:36   收藏:0   阅读:357
  1. Tomcat启动,显示“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”

    这是因为Tomcat的TLD自动扫描功能,进入Tomcat目录下的conf/context

     

    <?xml version=‘1.0‘ encoding=‘utf-8‘?>
        <Context processTlds="false">
        <WatchedResource>WEB-INF/web.xml</WatchedResource>
    </Context>

    把Context processTlds设为false就可以了。

原文:http://www.cnblogs.com/nicori/p/5613626.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!