No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.Thread
在使用Shiro前提下,开始是想在controller使用SecurityUtils.getSubject().getPrincipal()中获取当前用户信息,但结果报红了org.springframework.beans.factory.BeanCreationException: Errorcreating bean with name ‘studentController’ defined in file[H:\lxt\target\classes\com\dang\controller\St
原创
2021-08-26 23:33:06 ·
9301 阅读 ·
0 评论