skip to Main Content

NotSerializableException with redisson-spring-boot-starter

I'm using redisson-spring-boot-starter 3.13.2 and Kotlin for cache but I get the following exception: java.lang.IllegalArgumentException: java.io.NotSerializableException: com.service.message.State at org.redisson.RedissonObject.encodeMapValue(RedissonObject.java:338) at org.redisson.RedissonMapCache.fastPutOperationAsync(RedissonMapCache.java:843) at org.redisson.RedissonMapCache.fastPutAsync(RedissonMapCache.java:746) at org.redisson.RedissonMapCache.fastPut(RedissonMapCache.java:720) at org.redisson.spring.cache.RedissonCache.put(RedissonCache.java:107) at org.springframework.cache.interceptor.AbstractCacheInvoker.doPut(AbstractCacheInvoker.java:87) at org.springframework.cache.interceptor.CacheAspectSupport$CachePutRequest.apply(CacheAspectSupport.java:820) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:429) at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:345) at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at…

VIEW QUESTION
Back To Top
Search