一、该问题的重现步骤是什么?
1. 微服务版本,启动 blade-system 服务报错
二、你期待的结果是什么?实际看到的又是什么?
期待启动正常,启动报错,启动失败
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
BladeX微服务版,版本 2.6.0.RELEASE ,在windows 和Linux上都有问题
四、请提供详细的错误堆栈信息,这很重要。
错误日志如下:
2021-04-08 10:12:00.322 INFO 18292 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} closed
2021-04-08 10:12:00.344 INFO 18292 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-04-08 10:12:00.536 ERROR 18292 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of constructor in org.springblade.system.service.impl.TenantServiceImpl required a bean of type 'org.springblade.core.tenant.TenantId' that could not be found.
Action:
Consider defining a bean of type 'org.springblade.core.tenant.TenantId' in your configuration.
Process finished with exit code -1
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端