Error creating bean with name 'goodsInfoController': Unsatisfied dependency expressed through field 'service'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.lt.fresh.service.IGoodsInfoService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
创建goodsInfoController出错,未满足的依赖项通过字段“service”
找到GoodsInfoServiceImpl类 ,发现没有写注解@Service