File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/main/java/info/xiaomo/redis Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1919 </dependency >
2020 <dependency >
2121 <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 >
2424 </dependency >
2525 </dependencies >
2626
Original file line number Diff line number Diff line change 22
33import org .springframework .boot .SpringApplication ;
44import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
5+ import org .springframework .boot .autoconfigure .jdbc .DataSourceAutoConfiguration ;
6+ import org .springframework .boot .autoconfigure .orm .jpa .HibernateJpaAutoConfiguration ;
57import org .springframework .cache .annotation .EnableCaching ;
68import org .springframework .context .annotation .ComponentScan ;
79import org .springframework .context .annotation .Configuration ;
2224 * Copyright(©) 2015 by xiaomo.
2325 **/
2426@ Configuration
25- @ EnableAutoConfiguration
27+ @ EnableAutoConfiguration ( exclude = { DataSourceAutoConfiguration . class , HibernateJpaAutoConfiguration . class })
2628@ ComponentScan ("info.xiaomo" )
2729@ EnableCaching
2830@ EnableScheduling
You can’t perform that action at this time.
0 commit comments