微服务版本,启动 blade-system 服务报错

Blade 未结 3 988
630173235
630173235 2021-04-08 11:08

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

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

五、若有更多详细信息,请在下面提供。

3条回答
  •  630173235
    630173235 (楼主)
    2021-04-08 16:44

    没有修改框架代码,本地启动以及打包后放到linux服务器上启动都有此问题

提交回复