阅读背景:

Spring Boot 整合Redis :spring-boot-starter-data-redis_allen_csdns的博客_spring-boot-starter-data-redis

来源:互联网 

1.添加maven依赖

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- redis依赖commons-pool 这个依赖一定要添加 -->
<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-pool2</artifactId>
</dependency>
<dependency>
    <groupId>



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

分享到: