首页 > 技术文章 > 解决At least one JAR was scanned for TLDs yet contained no TLDs. 问题

lchzls 2017-03-11 14:23 原文

启动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.

解决方案:
pom.xml中添加:

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>

之前自己pom.xml中导入的为:

<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>

因此,一直报错。

推荐阅读