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

启动项目,最后就报个这个错,然后就没然后了…

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.
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.

很明显The new driver class is `com.mysql.cj.jdbc.Driver’,说新驱动用这个,然后再配置文件中把驱动改掉,就ok了

posted @ 2019-09-29 16:20  你就像甜甜的益达  阅读(102)  评论(0编辑  收藏  举报