2017-02-08 3 views
1

ご使用の構成タイプの「org.springframework.data.redis.connection.RedisConnectionFactory」Beanを定義することを考慮し、私はgitの https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/spring-session私は春のセッションを使用しようと

からこのプロジェクトをdowloadし、私はこのエラーを取得 アプリケーションが起動に失敗しました


説明: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' Beanを定義することを検討してください。

答えて

2

このエラーは間違いです。いくつかの依存関係が欠落しています。

compile 'redis.clients:jedis' 
compile 'org.apache.commons:commons-pool2' 
関連する問題

 関連する問題