• ADADADADAD

    com.mysql.jdbc.Driver ==》 com.mysql.cj.jdbc.Driver[ mysql数据库 ]

    mysql数据库 时间:2024-12-25 09:57:23

    作者:文/会员上传

    简介:

    错误信息:
    SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@16676fb7] was not registered for synchronization because synchronization is not active

    以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。

    错误信息:

    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.docx

    将本文的Word文档下载到电脑

    推荐度:

    下载