title: spring data redis Failed to deserialize object type; nested exception is java.lang.ClassNotFoundException
body: <p>I am using spring-data-redis 1.1.0 and jedis 2.1.0.</p>
  
  <p>When i deploy my code to Karaf, i'am getting the below exception:</p>
  
  <p><code>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</code></p>
  
  <p>It is working when my i am running JUnit.</p>
  
  <p>Below is my redisTemplate.</p>
  
  <p><code>&lt;bean id="redisTemplate" class="org.springframework.data.redis.core.RedisTemplate"&gt;</code></p>