Description:
Field dictService in com.study.yygh.cmn.controller.DictController required a bean of type 'com.study.yygh.cmn.service.DictService' 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.study.yygh.cmn.service.DictService' in your configuration.
解决方法:
在ServiceImpl这个类上面加上注解@Service