一、该问题的重现步骤是什么?
我添加了如下几个文件且没有报错,但依旧启动报错,我该怎么解决这个问题?
BaiduBosTemplate
BaiduBosConfiguration oss.el.xml
二、你期待的结果是什么?实际看到的又是什么?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
3.2.0.RELEASE
windows10 springboot
四、请提供详细的错误堆栈信息,这很重要。
2024-02-23 18:00:38.095 WARN 21204 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ossControllers' defined in file [E:\ideaProject\film_crew\target\classes\org\springblade\modules\system\controller\OssControllers.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springblade.core.oss.OssTemplate' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
Description:
Parameter 0 of constructor in org.springblade.modules.system.controller.OssControllers required a bean of type 'org.springblade.core.oss.OssTemplate' that could not be found.
Action:
Consider defining a bean of type 'org.springblade.core.oss.OssTemplate' in your configuration.
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端