| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,8 +19,8 @@ | |||
| 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,6 +2,8 @@ | |||
| 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,7 +24,7 @@ | |||
| 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 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments