spring整合shiro的一次异常,汗颜

今天在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.

排查了好久不知道问题在哪里,最后:

坑爹啊,这么明显的问题没有注意到。。。

正确的是:

细心细心再细心!!!

原文地址:https://www.cnblogs.com/raising/p/13507320.html