![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
狂躁的辣条
这个作者很懒,什么都没留下…
展开
-
30分钟学会如何使用Shiro
转载自:https://www.cnblogs.com/learnhow/p/5694876.html一、架构要学习如何使用Shiro必须先从它的架构谈起,作为一款安全框架Shiro的设计相当精妙。Shiro的应用不依赖任何容器,它也可以在JavaSE下使用。但是最常用的环境还是JavaEE。下面以用户登录为例:(1)使用用户的登录信息创建令牌UsernamePasswordToken ...转载 2019-10-12 16:17:18 · 103 阅读 · 0 评论 -
Spring boot的filter 不能注入redis的问题 解决
问题在filter实现类这里注入的redisUtil 但是 拿到的却是 nullpublic class SecurityFilter implements Filter { @Autowired RedisUtil redisUtil; web应用启动的顺序是:listener->filter->servlet,先初始化listener,然后再来就filter的初始...原创 2019-10-12 09:55:16 · 3601 阅读 · 1 评论 -
SpringBoot的错误 Failed to read candidate component class
springboot 启动错误 显示错误是org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/C:/Users/Administrator/.m2/repository/org/springframework...原创 2019-09-04 20:15:05 · 12823 阅读 · 1 评论