Description:
Field countDataShowService in com.njclw.ssap.countDataShow.web.CountDataShowController required a bean of type ‘com.njclw.ssap.countDataShow.service.impl.CountDataShowService’ 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.njclw.ssap.countDataShow.service.impl.CountDataShowService’ in your configuration.
接解决:
@Service
@Mapper
SpringBoot服务启动失败:未找到CountDataShowServicebean
文章描述了一个SpringBoot应用在启动时遇到的问题,具体是CountDataShowController中通过@Autowired注解尝试注入CountDataShowService,但系统未能找到对应的bean。解决方案提示需要在配置中定义这个服务的bean。
3696

被折叠的 条评论
为什么被折叠?



