SpringBoot集成shiro redis遇到个问题
遇到如下报错:
java.lang.ClassCastException: org.apache.shiro.authc.SimpleAuthenticationInfo cannot be cast to java.lang.String
......
at com.example.demo.config.cache.RedisCache.put(RedisCache.java:44) ~[classes/:na]
......
定位到了代码
public class RedisCa..
原创
2022-01-18 00:19:56 ·
800 阅读 ·
0 评论