admin管理员组

文章数量:1636994

FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanInitializationException: The security manager does not implement the WebSecurityManager interface.

ShiroConfig报以上错误,往往是因粗心使用的类错误而导致。

我的错误:



其中的DefaultSecurityManager应该换成DefaultWebSecurityManager。

正确示例:

重启项目即可。

本文标签: 报错SecuritySpringBootShiroConfigWebSecurityManager