IDEA 启动报错 找不到注入的类
这个错误表明 Spring 在为 类创建 bean 时遇到了 NoUniqueBeanDefinitionException 异常。具体原因是,Spring 在自动装配一个类型为 java.lang.Object 的参数时,发现存在多个候选的 bean,并且没有能够明确的指明应使用哪个 bean。
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'realTimeTaskHandler': Unsatisfied dependency expressed through field 'iPickOrderService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'IPickOrderServiceImpl': Unsatisfied dependency expressed through field 'iStockOutOrderService';
可能是自己的在注入bean中去掉无用的bean后没有将 @Autowired注释掉

808

被折叠的 条评论
为什么被折叠?



