今天在spring整合shiro时,发生一个异常:
Caused by: java.lang.IllegalStateException: Configuration error:
No realms have been configured!
One or more realms must be present to execute an authentication attempt.
排查了好久不知道问题在哪里,最后:
坑爹啊,这么明显的问题没有注意到。。。
正确的是: