阅读背景:

springboot +shiro 详细(ehcache缓存)

来源:互联网 

1      导入maven坐标

  •   <!--shiro start-->
            <dependency>
                <groupId>org.apache.shiro</groupId>
                <artifactId>shiro-ehcache</artifactId>
                <version>1.3.2</version>
            </dependency>
            <dependency>
                <groupId>org.apache.shiro</groupId>
                <artifactId>shiro-spring</artifactId>
                <version>1.3.2</version>
            </dependency>
            <!--shiro end-->
            <!-- https://mvnrepository.com/artifact/net.sf.ehcache/ehcache-core -->
            <!--本地缓存+shiro-->
            <dependency>
                <groupId>net.sf.ehcache</groupId>
                <artifactId>ehcache-core</artifactId>
                <version>2.6.11</version>
            </dependency>
      <!--shiro sta



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: