If there is an exception,or aop invalid,please attach the exception trace:
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of constructor in com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAopConfiguration required a single bean, but 2 were found:
- spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties: defined in unknown location
- dynamicDataSourceProperties: defined by method 'dynamicDataSourceProperties' in class path resource [com/baomidou/dynamic/datasource/spring/boot/autoconfigure/DynamicDataSourceAopConfiguration.class]
Enviroment
JDK Version(required): 11
SpringBoot Version(required): 2.7.18
dynamic-datasource-spring-boot-starter Version(required):4.3.1
druid Version(optional):1.2.23
Describe what happened
从3.6.1升级到4.3.1后启动报错
Expected Result:
Actual Result:
If there is an exception,or aop invalid,please attach the exception trace:
Steps to reproduce
Step 1
Step 2
Step 3