正如标题所提到的,我有一个A component required a bean of type [SomeBean]错误,我想知道哪个组件需要[SomeBean]。有没有办法获得更多关于哪个bean需要缺少的bean的信息? 另外,为什么我会收到这个错误消息?我非常确定,有时候缺失的bean会生成更清晰的消息,说明哪些bean需要</e
我将向您展示我所有的类和配置文件,并解释我的问题;尽管我已经设置了要扫描的包,也使用了适当的注释,我仍然得到了这个异常,我甚至为ProductManager.java中的服务使用了@Service、@Configuration和其余的注释,但是没有什么效果,我还在这里检查了一些其他主题--一个都没有帮助我,我是不是遗漏了什么?-- Configures the @Controller programming model -->
<mvc:annotation
, false今天,我不得不在序列化程序bean上自动创建一个值,该值由FactoryBean提供。最后,在查看了bean注入的工作原理之后,我发现Spring从不注入“简单属性” * Return an array of non-simple bean properties that are* @param mbd the merged bean definition the bean was created with
* @param