码迷,mamicode.com
首页 > 编程语言 > 详细

springboot整合redis

时间:2019-04-21 12:50:10      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:依赖   pen   redis   scope   添加   ram   red   frame   cti   

1.添加依赖

   
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

2.

springboot整合redis

标签:依赖   pen   redis   scope   添加   ram   red   frame   cti   

原文地址:https://www.cnblogs.com/mm163/p/10744611.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!