写Mybatis引入外部配置文件时报错,在网上找了很多办法都没有用
MyBatis异常 java.sql.SQLException: Error setting driver on UnpooledDataSource.

报错时驱动问题,驱动是通过配置文件加载过来的,我就去检查配置文件
一番详细的检查过后,发现↓

MyBatis异常 java.sql.SQLException: Error setting driver on UnpooledDataSource.

MyBatis异常 java.sql.SQLException: Error setting driver on UnpooledDataSource.

多了个空格,把空格去掉,再次运行则成功!


如果对大家有帮助的,可以点赞关注和收藏哦,谢谢各位!

Mybatis专栏

MyBatis异常 java.sql.SQLException: Error setting driver on UnpooledDataSource.

相关文章:

  • 2022-12-23
  • 2021-04-26
  • 2021-12-15
  • 2021-04-02
  • 2021-07-24
猜你喜欢
  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
相关资源
相似解决方案