org.springframework.beans.factory.NoSuchBeanDefinitionException

错误:org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.boeryun.service.customer.CustomerMobileService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

原因:

1.如果您使用注释进行配置,则可能会缺少cn.itcast.crm.service.BaseDictService实现的注释(@Service或@Component)。

猜你喜欢

转载自blog.csdn.net/it_zhang_PG/article/details/83090011