操作数据库时报错,UnavailableSecurityManagerException
具体错误如下:org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton.This is an invalid application configuration.
在执行数据库更新操作时报错,这是怎么回事啊 自顶。
参考自:https://blog.csdn.net/woyaoyonghanzizhuce/article/details/91862992
在ShiroConfig.java - securityManager():添加ThreadContext.bind(securityManager);
页:
[1]