private String dbUrl="jdbc:mysql://localhost:3306/db_shopping?useUnicode=true&useSSL=true&characterEncoding=utf8&serverTimezone=GMT%2B8";
private String dbUserName="root";
private String dbPassword="123456";
private String jdbcName="com.mysql.cj.jdbc.Driver";
这是我写的代码一直在报错
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
看了很多帖子也没看出来哪错了