SpringBoot+Mybatis项目运行报错 Error: GlobalConfigUtils setMetaData Fail ! Cause:java.sql.SQLException...

SpringBoot+Mybatis项目运行报错 Error: GlobalConfigUtils setMetaData Fail !  Cause:java.sql.SQLException: com.mysql.cj.jdbc.Driver(驱动版本问题)

SpringBoot+Mybatis项目运行报错 Error: GlobalConfigUtils setMetaData Fail ! Cause:java.sql.SQLException...

 出现该报错时的配置:

SpringBoot+Mybatis项目运行报错 Error: GlobalConfigUtils setMetaData Fail ! Cause:java.sql.SQLException...

 pom.xml文件

SpringBoot+Mybatis项目运行报错 Error: GlobalConfigUtils setMetaData Fail ! Cause:java.sql.SQLException...

解决办法:去掉.cj

SpringBoot+Mybatis项目运行报错 Error: GlobalConfigUtils setMetaData Fail ! Cause:java.sql.SQLException...