Field paymentService in com.yueyang.pay.controller.PaymentController required a bean of type ‘com.pay.dao.IPaymenDAO’ that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type ‘com.pay.dao.IPaymenDAO’ in your configuration.
解决:IPaymenDAO 加上@Mapper注解