spring boot找不到service类,项目无法启动

Spring boot项目报错Field sysChannelService in org.jeecg.modules.bazsystem.controller.SysChannelController required a bean of type 'org.jeecg.modules.bazsystem.service.ISysChannelService' that could not be found.

找不到service对象,导致项目无法启动

 解决方案:

在Service的实现层,添加@Service注解

原文地址:https://www.cnblogs.com/1gaoyu/p/15686833.html