当前位置: 首页 > 工具软件 > Insql > 使用案例 >

## The error may exist in SQL Mapper Configuration]) but failed to remove it when the web 报错

韦翰音
2023-12-01

报错信息:

严重: The web application [/cc] 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.
七月 09, 2019 11:13:21 上午 org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
严重: The web application [/cc] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1f942568]) and a value of type [org.apache.ibatis.executor.ErrorContext] (value [
### The error may exist in SQL Mapper Configuration]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

起先一直以为是自己写的Mapper.xml问题,几番更改,结果还是报一样错,我都有点怀疑人生,后来按shift+shift搜索文件,才发现项目中有同名Mapper文件……

改成不同即可。

 类似资料: