Open
Description
Describe the bug
While trying to run the sample project spring-session-sample-boot-redis-json
the following error occurs:
2020-05-29 11:58:13.083 ERROR 25590 --- [ restartedMain] o.s.b.web.embedded.tomcat.TomcatStarter : Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'sessionRepositoryFilterRegistration' defined in class path resource [org/springframework/boot/autoconfigure/session/SessionRepositoryFilterConfiguration.class]: Unsatisfied dependency expressed through method 'sessionRepositoryFilterRegistration' parameter 1; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.session.web.http.SessionRepositoryFilter<?>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
To Reproduce
Use IntelliJ IDEA 2020
Use either master
branch or 2.3.0.RELEASE
tag
Run the Application class from the project
Note that the integration BootTests run successfully.
Expected behavior
The application should start