忘记实service了

Error creating bean with name 'marketCluesController': Unsatisfied dependency expressed through field 'marketCluesPlanService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'me.hkq.modules.market.service.MarketCluesPlanService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:596)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:90)
本文分析了一条具体的Spring框架错误信息,该错误发生在尝试注入MarketCluesPlanService bean时。文章详细解释了NoSuchBeanDefinitionException异常的原因,并探讨了解决此类问题的可能方案。
1107

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



