Could not autowire field / No matching bean of type

Error creating bean with name 'bidAction': Injection of autowired dependencies failed; 

Could not autowire field: private com.gxll.moduels.fwfz.service.BidService com.gxll.moduels.fwfz.web.BidActionController.bidService; 

No matching bean of type [com.gxll.moduels.fwfz.service.BidService]

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注解了

 Could not autowire field: private com.gxll.moduels.fwfz.dao.BidDao

No matching bean of type [com.gxll.moduels.fwfz.dao.BidDao]

猜你喜欢

转载自blog.csdn.net/qq_40279809/article/details/86674173
今日推荐