• 周四. 10 月 3rd, 2024

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

The web application [/] registered the JDBC driver [ com.oracle.jdbc . driver] error resolution

King Wang

1 月 3, 2022

1. Error description

The web application [/xxxx] registered the JDBC driver [com.oracle.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.

 

2. error analysis

This is often a misreported error . Don’t cling to the idea that any mistakes will be solved , To deal with this bug.

Some people jdk Inconsistencies report this error , There are many documents that report this error . yes , we have lib There is repetition in Jar Bao also reported this mistake .

 

3. Error resolution

Method 1 :

By copying tomcat Restart elsewhere , According to the printed error log , Just know it’s a package conflict . Delete the old version of the package , It’s working .

Method 2 :

stay tomcat Of server.xml file <!– <Listener className=”org.apache.catalina.core.JreMemoryLeakPreventionListener”/> –>

Just comment it out . This just bypasses the memory leak check , It didn’t solve the problem .

 

 

发表回复