Tomcat 8 解决“At least one JAR was scanned for TLDs yet contained no TLDs”问题

错误提示:

13-Jun-2017 22:21:16.192 信息 [RMI TCP Connection(5)-127.0.0.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.
13-Jun-2017 22:21:16.591 信息 [RMI TCP Connection(5)-127.0.0.1] com.opensymphony.xwork2.util.logging.jdk.JdkLogger.info Parsing configuration file [struts-default.xml]
13-Jun-2017 22:21:16.595 严重 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
13-Jun-2017 22:21:16.595 严重 [RMI TCP Connection(5)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors

解决办法:

复制两个JAR包到工程的lib中:commons-lang-2.4.jar,commons-lang3-3.2.jar。

我的环境是Tomcat 8.5,struts 2.3.22,复制之后重启Tomcat就好了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值