diff --git a/spring-data-redis/.classpath b/spring-data-redis/.classpath
deleted file mode 100644
index 9ae7bca0fc..0000000000
--- a/spring-data-redis/.classpath
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/spring-data-redis/.project b/spring-data-redis/.project
deleted file mode 100644
index 06547e2b9c..0000000000
--- a/spring-data-redis/.project
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
- sprint-data-redis
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.springframework.ide.eclipse.core.springbuilder
-
-
-
-
- org.eclipse.m2e.core.maven2Builder
-
-
-
-
-
- org.springframework.ide.eclipse.core.springnature
- org.eclipse.jdt.core.javanature
- org.eclipse.m2e.core.maven2Nature
-
-
diff --git a/spring-data-redis/pom.xml b/spring-data-redis/pom.xml
index ba2020e1ef..25686fca16 100644
--- a/spring-data-redis/pom.xml
+++ b/spring-data-redis/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.baeldung
- sprint-data-redis
+ spring-data-redis
1.0
jar
diff --git a/spring-data-redis/src/main/java/org/baeldung/spring/data/redis/config/RedisConfig.java b/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/config/RedisConfig.java
similarity index 78%
rename from spring-data-redis/src/main/java/org/baeldung/spring/data/redis/config/RedisConfig.java
rename to spring-data-redis/src/main/java/com/baeldung/spring/data/redis/config/RedisConfig.java
index 0b64afe56c..4fd83a2bb6 100644
--- a/spring-data-redis/src/main/java/org/baeldung/spring/data/redis/config/RedisConfig.java
+++ b/spring-data-redis/src/main/java/com/baeldung/spring/data/redis/config/RedisConfig.java
@@ -1,8 +1,8 @@
-package org.baeldung.spring.data.redis.config;
+package com.baeldung.spring.data.redis.config;
-import org.baeldung.spring.data.redis.queue.RedisMessageSubscriber;
-import org.baeldung.spring.data.redis.queue.RedisMessagePublisher;
-import org.baeldung.spring.data.redis.queue.MessagePublisher;
+import com.baeldung.spring.data.redis.queue.MessagePublisher;
+import com.baeldung.spring.data.redis.queue.RedisMessagePublisher;
+import com.baeldung.spring.data.redis.queue.RedisMessageSubscriber;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@@ -11,9 +11,10 @@ import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.listener.ChannelTopic;
import org.springframework.data.redis.listener.RedisMessageListenerContainer;
import org.springframework.data.redis.listener.adapter.MessageListenerAdapter;
+import org.springframework.data.redis.serializer.GenericToStringSerializer;
@Configuration
-@ComponentScan("org.baeldung.spring.data.redis")
+@ComponentScan("com.baeldung.spring.data.redis")
public class RedisConfig {
@Bean
@@ -25,6 +26,7 @@ public class RedisConfig {
public RedisTemplate redisTemplate() {
final RedisTemplate template = new RedisTemplate();
template.setConnectionFactory(jedisConnectionFactory());
+ template.setValueSerializer(new GenericToStringSerializer