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注解

posted on 2021-12-14 10:56  一往无前!  阅读(1168)  评论(0编辑  收藏  举报