当前位置:Gxlcms > 数据库问题 > Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'.

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

时间:2021-07-01 10:21:17 帮助过:21人阅读

技术图片

 

将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.jdbc.Driver'.

标签:src   mysq   mys   The   sql   dep   loading   class   alt   

人气教程排行