Description:
Field iClassScheduleService in org.jeecg.modules.manager.item.controller.RegistrationController required a bean of type ‘org.jeecg.modules.manager.item.service.IClassScheduleService’ 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 ‘org.jeecg.modules.manager.item.service.IClassScheduleService’ in your configuration.
解决方法:
找到com.stylefeng.guns.modular.certification.service.IRealNameService实现类,在实现类加上累注解@Service
这两天遇到两次这个问题了 总结一下 :
出现这种情况是它找不到@Service注解,究其原因
1.IStudentService 和StudentServiceImpl 这两个名字写错了
2.@Service写错地方了 正常是写在StudentServiceImpl 里面的
最后三张也是解决方法 很简单的问题粗心大意了