Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj

Posted 端木祈月

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj相关的知识,希望对你有一定的参考价值。

 

将spring.datasource.driverClassName=com.mysql.jdbc.Driver改成com.mysql.cj.jdbc.Driver

再运行即可

 

以上是关于Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj的主要内容,如果未能解决你的问题,请参考以下文章

解决:Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj(

解决:Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.cj

Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj

解决Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.

Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj

mysql 问题 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is