具体异常:
2012-12-3 15:16:49 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2012-12-3 15:16:49 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2012-12-3 15:16:49 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/] created a ThreadLocal with key of type [org.apache.axiom.util.UIDGenerator$1] (value [org.apache.axiom.util.UIDGenerator$1@399f9f8e]) and a value of type [long[]] (value [[J@1ea44130]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2012-12-3 15:16:49 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@118e0f0f]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.W3CDomHandler=public javax.xml.bind.annotation.W3CDomHandler()}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2012-12-3 15:16:50 org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
2012-12-3 15:16:50 org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
[Unloading class sun.reflect.GeneratedConstructorAccessor23]
[Unloading class sun.reflect.GeneratedConstructorAccessor22]
[Unloading class sun.reflect.GeneratedConstructorAccessor21]
[Unloading class sun.reflect.GeneratedConstructorAccessor72]
[Unloading class sun.reflect.GeneratedConstructorAccessor20]
[Unloading class org.apache.catalina.loader.JdbcLeakPrevention]
此异常的原因可能tomcat导致的,我的环境是JDK7用的是tomcat8,系统用了好久都没问题的。不知道什么时候莫名其妙启动的时候报错就启动不起来了,后来我网上查了各种方法都不行,最后我换了tomcat7启动就可以了,具体原因没找到,暂时记录解决方法吧!