JRediSearch icon indicating copy to clipboard operation
JRediSearch copied to clipboard

Conflict with Spring data api

Open shannonantony opened this issue 6 years ago • 0 comments

This is related to issue #61. I have springboot 2.x application with spring-data-redis and jredisearch. While starting up the springboot app, i get the following error. I did try different versions of libraries, but no luck. please help

APPLICATION FAILED TO START


Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

org.springframework.data.redis.repository.configuration.RedisRepositoryConfigurationExtension.createMappingConfigBeanDef(RedisRepositoryConfigurationExtension.java:168)

The following method did not exist:

org.springframework.data.repository.config.RepositoryConfigurationSource.getRequiredAttribute(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

The method's class, org.springframework.data.repository.config.RepositoryConfigurationSource, is available from the following locations:

jar:file:/C:/Users/.m2/repository/org/springframework/data/spring-data-commons/2.1.12.RELEASE/spring-data-commons-2.1.12.RELEASE.jar!/org/springframework/data/repository/config/RepositoryConfigurationSource.class

It was loaded from the following location:

file:/C:/Users/jantony/.m2/repository/org/springframework/data/spring-data-commons/2.1.12.RELEASE/spring-data-commons-2.1.12.RELEASE.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of org.springframework.data.repository.config.RepositoryConfigurationSource

shannonantony avatar Nov 27 '19 02:11 shannonantony