2017-02-08 3 views
1

구성에 유형의 'org.springframework.data.redis.connection.RedisConnectionFactory'빈을 정의 고려와 나는 자식 https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/spring-session내가 봄 세션을 사용하려고

에서이 프로젝트 에디터를 이용해 그리고 난이 오류가 응용 프로그램이 시작하지 못했습니다


설명 : org.springframework.session.data.redis.config.annotation.web.http.Re의 방법 sessionRedisTemplate의

매개 변수 0 disHttpSessionConfiguration은 찾을 수없는 'org.springframework.data.redis.connection.RedisConnectionFactory'유형의 bean을 필요로합니다.

작업 :

이 구성 유형의 'org.springframework.data.redis.connection.RedisConnectionFactory'빈을 정의하는 것이 좋습니다.

답변

2

오류는 오해의 소지가 있습니다. 일부 종속성이 누락되었습니다.

compile 'redis.clients:jedis' 
compile 'org.apache.commons:commons-pool2'