我试图阻止...
[localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars 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.
...由于我没有定义 TLD,因此出现我的 war 文件部署时出错。
关于这个问题有很多问题和答案,但它们似乎都指向改变 Tomcat 的全局配置,这是我不想要的。
如何通过我的 war 文件的本地 context.xml 文件通知扫描仪不存在 TLD,因此不需要扫描和后续警告?