报错 : Field sysLogService in com.tedu.controller.SysLogController required a bean of type 'com.tedu.service.SysLogService' that could not be found

错误提示:

***************************
APPLICATION FAILED TO START
***************************

Description:

Field sysLogService in com.tedu.controller.SysLogController required a bean of type 'com.tedu.service.SysLogService' 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.tedu.service.SysLogService' in your configuration.

百度了一下,别人的解决方案如下:

在Service实现类中添加@service注解 , 可是我的已经加了还是不行 , 

猜你喜欢

转载自www.cnblogs.com/liangmujun/p/12064688.html
今日推荐