Consider defining a bean of type ‘XXXX‘ in your configuration.
今天学习尚硅谷的SpringCloud时,发现支付模块无法启动,控制台输出下面的错误:看起来可能是dao层没有被注入。然后根据我已有的知识,我检查了注解@Mapper@MapperpublicinterfacePaymentDao{publicintcreate(Paymentpayment);publicPaymentgetPaymentById(@Param("id")longid);}pom