title: spring session initialization error
body: <p>I am trying to implement Spring Session following this tutorial
  <a href="http://docs.spring.io/spring-session/docs/current/reference/html5/guides/httpsession.html" rel="nofollow">Spring HttpSession Tutorial</a></p>
  
  <p>But I am running into an initialization error when I start up the application.</p>
  
  <blockquote>
    <p>Exception in thread "main" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'springSessionRepositoryFilter' defined in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration: Unsatisfied dependency expressed through constructor argument with index 1 of type [javax.servlet.ServletContext]: : No qualifying bean of type [javax.servlet.ServletContext] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [javax.servlet.ServletContext] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}</p>
  </blockquote>
  
  <p>I may be wrong, but it looks like there is no implementation of ServletContext that is annotated, should I add <em>any additional dependencies</em> to solve this?</p>