13. Minimum Requirements

The minimum requirements for Spring Session are:

  • Java 8+
  • If you are running in a Servlet Container (not required), Servlet 3.1+
  • If you are using other Spring libraries (not required), the minimum required version is Spring 5.0.x.
  • @EnableRedisHttpSession requires Redis 2.8+. This is necessary to support Session Expiration
  • @EnableHazelcastHttpSession requires Hazelcast 3.6+. This is necessary to support FindByIndexNameSessionRepository
[Note] Note

At its core Spring Session only has a required dependency on spring-jcl. For an example of using Spring Session without any other Spring dependencies, refer to the hazelcast sample application.