"No cache or cacheManager properties have been set. Authorization cache cannot be obtained."

shiro  ini配置文件添加:

myRealm.authorizationCachingEnabled = false

myRealm为自定义的文件

你可能感兴趣的:(shiro)