Field m_chechService in com.cjhstudy.controller.CkeckController required a bean of type ‘com.cjhstudy.service.M_CheckService’ that could not be found.
Action:
Consider defining a bean of type ‘com.cjhstudy.service.M_CheckService’ in your configuration.
解决方法
查看一下@Service注解是不是放错位置了,应该放到service包下的 serviceImpl 这个实现类中,而不能放在接口类下;否则就会报spring 扫描不到这个包下的类!!!!!