To prevent a memory leak, the JDBC Driver has been forcibly unregistered

后端 未结 14 1890
执念已碎
执念已碎 2020-11-22 02:15

I am getting this message when I run my web application. It runs fine but I get this message during shutdown.

SEVERE: A web application registered the

14条回答
  •  终归单人心
    2020-11-22 03:08

    If you are getting this message from a Maven built war change the scope of the JDBC driver to provided, and put a copy of it in the lib directory. Like this:

    
      mysql
      mysql-connector-java
      5.1.18
      
      provided
    
    

提交回复
热议问题