Autowired注入bean失败-springboot框架

报错提示:

APPLICATION FAILED TO START

Description:

Field sysShiroHandleMgr in yui.comn.shiro.mgr.UserDetailMgrImpl required a bean of type 'yui.comn.api.mgr.SysShiroHandleMgr' that could not be found.

Action:

Consider defining a bean of type 'yui.comn.api.mgr.SysShiroHandleMgr' in your configuration.
部分代码截图:
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import yui.comn.api.mgr.SysShiroHandleMgr;
import yui.comn.utils.UserInfo;

/**

@author hj

*/
@Service(UserDetailMgr.USER_DETAIL_MGR)
public class UserDetailMgrImpl implements UserDetailMgr {

@Autowired
private SysShiroHandleMgr sysShiroHandleMgr;
这个该如何解决?

SysShiroHandleMgr 注册bean的地方的呢,看不到没有办法给你看错误,你这个地方的截图,只是SysShiroHandleMgr引用他的地方,声明SysShiroHandleMgr的地方呢