Unable to start spring-boot application after configuring spring-session-data-redis

1.
As @M.Deinum mentioned, spring-session-data-redis (version 2.1.0.M1) doesn't pull Jedis or Lettuce drivers.

2.
Add the latest Jedis driver as explicit dependency:

dependencies {  
    // ...  
    compile 'redis.clients:jedis:2.9.0'  
} 

3.
Either add spring-boot-starter-data-redis (which pulls in Lettuce driver) or the latest Lettuce driver as explicit dependency:

dependencies {  
    // ...  
    compile 'org.springframework.boot:spring-boot-starter-data-redis'  
    // OR
    compile 'io.lettuce:lettuce-core:5.0.5.RELEASE' 
} 

There is 2 implementation of RedisConnectionFactory are comes with spring-session-data-redis

(1) lettuce (default) - https://github.com/spring-projects/spring-session/issues/789

(2) Jedis

Since lettuce & Jedis dependency are optional u have to have explicit dependency. u can put dependency to either one of it. (u can have both but Spring redis implementation stater used lettuce as a default implementation)

Example:

    <dependency>
        <groupId>redis.clients</groupId>
        <artifactId>jedis</artifactId>
        <version>x.x.x</version>
    </dependency>
    <dependency>
        <groupId>io.lettuce</groupId>
        <artifactId>lettuce-core</artifactId>
        <version>x.x.x</version>
    </dependency>