报错:defined for 'courierAction_pageQuery' in namespace '/'Error creating bean with name 'cn.itcast.bos.web.action.base.CourierAction': Injection of autowired dependencies failed; nested exception is or

No qualifying bean of type [cn.itcast.bos.web.service.base.CourierService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

原因@service注解没有写

猜你喜欢

转载自www.cnblogs.com/shan1393/p/9189041.html