我在将 grails 项目部署到 tomcat webapp 目录时遇到问题。
查看catalina.out
日志文件,我可以看到以下错误:
SEVERE: The web application [/test-0.1] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Dec 24, 2012 10:41:52 AM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/test-0.1] created a ThreadLocal with key of type [org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory$2] (value [org.codehaus.groovy.grails.commons.spring.ReloadAwareAutowireCapableBeanFactory$2@57390ad3]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
我对 Tomcat 很陌生,不确定这些错误是什么意思。请帮帮我。
提前致谢。