I\'m trying to publish a message to a channel using Spring data Redis using Jedis. Here is a very simple Java config:
@Bean(name=\"jedisConnectionFactory\")
I have also faced a similar kind of issue. I did some research and found out that it is due to a jar conflict.
Compatible version i am using in my application is :
org.springframework.data
spring-data-redis
1.8.10.RELEASE
redis.clients
jedis
2.9.0
Or if you are using spring boot simply add the following dependency. Spring boot is smart enough to auto resolve such issues.
org.springframework.boot
spring-boot-starter-data-redis
I hope it helps !!