Tomcat启动很慢,每次卡在At least one JAR was scanned for TLDs yet contained no TLDs!
原因 是Tomcat启动时会扫描大量jar包,如果有不符合TLD规范就会出现这个问题
解决:在Tomcat安装目录下apache-tomcat-9.0.1\conf\catalina.properties文件中配置启动Tomcat跳过检查的jar包 。tomcat.util.scan.StandardJarScanFilter.jarsToSkip=*.jar