注入MinioTemplate失败

Blade 未结 1 168

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

1. image.png

2. 在自定义controller层注入;

3.启动报错

***************************

APPLICATION FAILED TO START

***************************


Description:


Parameter 0 of constructor in org.springblade.modules.tender.controller.EbpsProjectAttachmentController required a bean of type 'org.springblade.core.oss.MinioTemplate' that could not be found.



Action:


Consider defining a bean of type 'org.springblade.core.oss.MinioTemplate' in your configuration.


Disconnected from the target VM, address: '127.0.0.1:62237', transport: 'socket'


Process finished with exit code 1

二、你期待的结果是什么?实际看到的又是什么?

注入MinioTemplate失败

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

baldex-boot版,3.2.0,操作系统windows

四、请提供详细的错误堆栈信息,这很重要。


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

1条回答
  • 配置文件要配置oss.name框架才会注入MinioTemplate

    _HJWT0M92TB$8JN@2L{U8KU.png

    G7}MLU`$J62([E@G8NDXHV7.png

    0 讨论(0)
提交回复