I am using couchbase as DB and Redis for caching purposes in my application.
However, I am not able to make it work. The application throws the following error during startup.
No qualifying bean of type 'org.springframework.data.convert.CustomConversions' available: expected single matching bean but found 2: couchbaseCustomConversions,redisCustomConversions
How can i resolve this? Please help
Adding a custom bean definition in the couchbaseconfiguration class,i.e the class which extends AbstractCouchbaseConfiguration would solve the issue.
@Bean
public CustomConversions customConversions() {
return super.customConversions();
}