Spring data redis Failed to deserialize object type; The nested exception is java.lang.ClassNotFoundException
I am using spring-data-redis 1.1.0 and jedis 2.1.0.
When I deploy my code to Karaf, I get the following exception:
Is the byte array a result of corresponding serialization for DefaultDeserializer?;
nested exception is org.springframework.core.NestedIOException: Failed to deserialize object type;
nested exception is java.lang.ClassNotFoundException
It works when I start JUnit.
Below is my redisTemplate.
<bean id="redisTemplate" class="org.springframework.data.redis.core.RedisTemplate">
+3
source to share
No one has answered this question yet
Check out similar questions: