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

前端 未结 20 2428
予麋鹿
予麋鹿 2020-12-13 06:02

This is the Warning im getting in console, Im confused with this warning:

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


        
20条回答
  •  感情败类
    2020-12-13 06:21

    This is beacuse the version of mysql to be connected is lower than the version of the mysql driver. Many people say that com.mysql.jdbc.Driver is changed to com.mysql.cj.jdbc.Driver , although this does not solve the problem, but it should also attract attention.

提交回复
热议问题