com.mysql.jdbc.Driver==》com.mysql.cj.jdbc.Driver

错误信息:

成都创新互联专注于企业成都全网营销推广、网站重做改版、靖边网站定制设计、自适应品牌网站建设、H5高端网站建设成都做商城网站、集团公司官网建设、外贸网站建设、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为靖边等各大城市提供网站开发制作服务。

SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@16676fb7] was not registered for synchronization because synchronization is not active 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.

解决方案:

com.mysql.jdbc.Driver  ==》 com.mysql.cj.jdbc.Driver

原因:

mysql 的驱动类,位置改变了


当前题目:com.mysql.jdbc.Driver==》com.mysql.cj.jdbc.Driver
网站网址:http://ybzwz.com/article/gpgegg.html