I have an application that uses spring and managed sessions in the standard way with @Scope ("session"). I have integrated spring-session-redis(@EnableRedisHttpSession) and would like to use that but I have several controllers that use @Scope ("session") and they conflict with "Failed to serialize object using DefaultSerializer". Removing the annotation everything works but now accessing with multiple sessions, the variables inside the @Controller are shared because they are previously instantiated and therefore not overwritten in a subsequent call from a different client. What is the best way to solve this problem?