blade-report启动报错

Blade 未结 1 763
jdodo
jdodo 剑者 2021-03-31 17:55

一、该问题的重现步骤是什么?

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


1条回答
  • 2021-04-01 10:30

    排查一下是不是引入了mybatis-plus的dynamic-datasource,把它删掉

    0 讨论(0)
提交回复