错误
idea给的描述:
Description:
Field ledgerQueryService in com.nankang.nczjdserver.controller.BaseController required a bean of type 'com.nankang.nczjdserver.service.LedgerQueryService' 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.nankang.nczjdserver.service.LedgerQueryService' in your configuration.
原因
在写业务实现层------serviceImpl时忘记在头上加注解** @ services**
解决
|