spring-projects / spring-projects/spring-session
Spring Session samples cannot be started from IntelliJ
Open
@eleftherias is already working on this.
Since May 29, 2020.
in: docs
type: bug
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 55
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.