项目在redeploy时出现以下异常:
2014-1-2 17:22:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/XinRui02] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@152bdc7]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1296d1d]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.2014-1-2 17:22:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/XinRui02] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@baa31b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@12a66ea]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-1-2 17:22:46 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/XinRui02] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@baa31b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@10bbd42]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2014-1-2 17:22:46 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\DEV\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\XinRui02\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2014-1-2 17:22:46 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
通过google,找到以下的贴子:
看到下面的回帖说的有几分道理:
换了tomcat之后,果然警告不在出现。
特此mark,向22楼致敬!