File tree 2 files changed +5
-3
lines changed
src/main/java/info/xiaomo/redis 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 19
19
</dependency >
20
20
<dependency >
21
21
<groupId >org.springframework.boot</groupId >
22
- <artifactId >spring-boot-starter-redis</artifactId >
23
- <version >1.4.1 .RELEASE</version >
22
+ <artifactId >spring-boot-starter-data- redis</artifactId >
23
+ <version >1.5.8 .RELEASE</version >
24
24
</dependency >
25
25
</dependencies >
26
26
Original file line number Diff line number Diff line change 2
2
3
3
import org .springframework .boot .SpringApplication ;
4
4
import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
5
+ import org .springframework .boot .autoconfigure .jdbc .DataSourceAutoConfiguration ;
6
+ import org .springframework .boot .autoconfigure .orm .jpa .HibernateJpaAutoConfiguration ;
5
7
import org .springframework .cache .annotation .EnableCaching ;
6
8
import org .springframework .context .annotation .ComponentScan ;
7
9
import org .springframework .context .annotation .Configuration ;
22
24
* Copyright(©) 2015 by xiaomo.
23
25
**/
24
26
@ Configuration
25
- @ EnableAutoConfiguration
27
+ @ EnableAutoConfiguration ( exclude = { DataSourceAutoConfiguration . class , HibernateJpaAutoConfiguration . class })
26
28
@ ComponentScan ("info.xiaomo" )
27
29
@ EnableCaching
28
30
@ EnableScheduling
You can’t perform that action at this time.
0 commit comments