There may be several reasons why the listener is not registered in Spring-Boot when using Spring-Session (Redis) and HttpSessionListener. Some possible reasons are:
The listener class is not properly registered in the Spring configuration. Make sure that the listener is registered through the @Component or @Bean annotation or by configuring it in the application.properties file.
There may be a conflict between the Spring-Session and HttpSessionListener configuration. In this case, you may need to modify the Spring-Session configuration to adjust its behavior or customize its behavior to work with the HttpSessionListener.
There may be a mismatch between the Spring version and the Spring-Session version. Check if the versions of the two frameworks are compatible and compatible with the deployed application server.
There may be a problem with the Redis cache configuration. Check if the Redis configuration is properly set and Redis is properly running and accessible.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-07-06 11:00:00 +0000
Seen: 11 times
Last updated: Feb 21 '22
The content inside my buttons is not visible on the screen.
What causes peep and pop operations to produce invalid outputs?
What does the message "No tests found" from playwright VSCode mean?
Why does SVG fail to display in Safari, but functions properly in Chrome?
How to use hyperlinks in SharePoint List within Teams?
What is the meaning of the build error message "NoClassDefFoundError: org/apache/xpath/XPathAPI"?
What is the correct way to load the jQuery fullcalendar plugin in a div that is not visible?