我需要使用Redis
来存储我的HttpSessions
。我按照此link
但我得到以下例外:
org.springframework.data.redis.serializer.SerializationException: Cannot serialize; nested exception is org.springframework.core.serializer.support.SerializationFailedException: Failed to serialize object using DefaultSerializer; nested exception is java.io.NotSerializableException: org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor
有谁知道如何解决这个问题? 感谢