shiro 启动异常

  

  

原因是:LoginController中用到,自动注入,要配置在 /permission1110/config/spring/applicationContext-service.xml中配置bean

@Controller
public class LoginController {
@Autowired
private SysService sysService;

---

<!-- 认证和授权的service -->
<bean id="sysService" class="cn.itcast.ssm.service.impl.SysServiceImpl"></bean>

posted @ 2017-08-15 11:53  海蓝7  阅读(223)  评论(0编辑  收藏  举报