Tomcat启动时出现的Error filterStart错误

Tomcat启动时出现的Error filterStart错误



严重: Error filterStart
2013-3-12 14:19:37 org.apache.catalina.core.StandardContext startInternal
严重: Context [/lbs] startup failed due to previous errors
2013-3-12 14:19:38 org.apache.catalina.loader.WebappClassLoader clearReferencesJ
dbc
严重: The web application [/lbs] registered the JDBC driver [com.mysql.jdbc.Driv
er] but failed to unregister it when the web application was stopped. To prevent
a memory leak, the JDBC Driver has been forcibly unregistered.
2013-3-12 14:19:38 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [/lbs] appears to have started a thread named [MySQL S
tatement Cancellation Timer] but has failed to stop it. This is very likely to c
reate a memory leak.
2013-3-12 14:19:38 org.apache.catalina.loader.WebappClassLoader checkThreadLocal
MapForLeaks
严重: The web application [/lbs] created a ThreadLocal with key of type [com.ope
nsymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject
.ContainerImpl$10@3c33d3]) and a value of type [java.lang.Object[]] (value [[Lja
va.lang.Object;@6e7127]) but failed to remove it when the web application was st
opped. Threads are going to be renewed over time to try and avoid a probable mem
ory leak.
2013-3-12 14:19:38 org.apache.catalina.loader.WebappClassLoader checkThreadLocal
MapForLeaks
严重: The web application [/lbs] created a ThreadLocal with key of type [com.ope
nsymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject
.ContainerImpl$10@c6b8b0]) and a value of type [java.lang.Object[]] (value [[Lja
va.lang.Object;@873b9f]) but failed to remove it when the web application was st
opped. Threads are going to be renewed over time to try and avoid a probable mem
ory leak.

项目可以在eclipse下完好运行,结果部署到服务器上了就报如上的错误。
对于菜鸟的我当然就跟着网上找资料。发现遇到此情况的道友也很多。
关机重启,更改tomcat service.xml ,更换各种高低版本的tomcat,都没有解决 。
最后发现了是包的问题。
我的是用Meaven进行管理的。就是如下的文件

<dependency>
<groupId>com.opensymphony</groupId>
<artifactId>xwork-core</artifactId>
<version>2.1.6</version>
</dependency>

此文件对应生成的有三个jar.1,spring-test-2.2.6 2,xwork-core-2.1.6 3,JUNIT-3.8.1
删除这三个Jar,总算就可以了。
记下以防下次再有类似问题发生。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值