baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.76k stars 1.2k forks source link

4.1.X版本在Springboot 3.1.X 中启动报错! #544

Closed mancong closed 1 year ago

mancong commented 1 year ago

Please fill it out carefully, or it will be closed. 请认真填写,不然会直接关闭。

Enviroment

JDK Version(required): 17.0.5 SpringBoot Version(required): 3.1.2 dynamic-datasource-spring-boot-starter Version(required): 4.1.3 druid Version(optional): 未使用(HikariCP:5.0.1)

Describe what happened

在Springboot3.1.2 Maven项目中,引入4.1.0-4.1.3 报错:

org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class 

引用错 包名问题!实在抱歉!

Steps to reproduce

huayanYu commented 1 year ago

无法复现,已有很多用户使用,暂未收到反馈. 注意看文档集成的包名变了

mancong commented 1 year ago

抱歉抱歉,没有认真看文档!