一、该问题的重现步骤是什么?
blade-report启动报错
二、报错信息
***************************
APPLICATION FAILED TO START
***************************
Description:
Field dynamicDataSourceProvider in org.springblade.common.config.tenantconfig.interceptor.NemDsMvcConfig required a bean of type 'com.baomidou.dynamic.datasource.provider.DynamicDataSourceProvider' that could not be found.
The following candidates were found but could not be injected:
- Bean method 'dynamicDataSourceProvider' in 'DynamicDataSourceAutoConfiguration' not loaded because @ConditionalOnProperty (spring.datasource.dynamic.enabled=true) found different value in property 'enabled'
- Bean method 'dynamicDataSourceProvider' in 'NemTenantDataSourceConfiguration' not loaded because @ConditionalOnProperty (blade.nemtenant.dynamic-datasource=true) did not find property 'blade.nemtenant.dynamic-datasource'
- Bean method 'dynamicDataSourceProvider' in 'TenantDataSourceConfiguration' not loaded because @ConditionalOnProperty (blade.tenant.dynamic-datasource=true) found different value in property 'blade.tenant.dynamic-datasource'
Action:
Consider revisiting the entries above or defining a bean of type 'com.baomidou.dynamic.datasource.provider.DynamicDataSourceProvider' in your configuration.
Process finished with exit code -1
扫一扫访问 Blade技术社区 移动端