title: Spring - Multiple Spring Data modules found, entering strict repository configuration mode
body: <p>I am using Spring boot 2 with Spring Data, Spring-Data-Elastisearch and Spring-data-Redis(for http sessions).
  When i start the app. I'm receiving </p>
  
  <pre><code>2017-10-29 17:38:33.376  INFO 18625 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
  2017-10-29 17:38:33.451  INFO 18625 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
  2017-10-29 17:38:33.461  INFO 18625 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
  2017-10-29 17:38:33.768  INFO 18625 --- [  restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
  2017-10-29 17:38:33.783  INFO 18625 --- [  restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.ecommerce.core.repository.elastic.ProductElasticSearchRepository.
  2017-10-29 17:38:33.787  INFO 18625 --- [  restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.ecommerce.core.repository.jpa.UserRepository.
  2017-10-29 17:38:33.790  INFO 18625 --- [  restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.ecommerce.core.repository.jpa.catalog.CategoryJsonWrapperRepository.
  2017-10-29 17:38:33.793  INFO 18625 --- [  restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.ecommerce.core.repository.jpa.catalog.CategoryRepository.
  2017-10-29 17:38:33.794  INFO 18625 --- [  restartedMain] .RepositoryConfigurationExtensionSupport : Spring Data Redis - Could not safely identify store assignment for repository candidate interface com.ecommerce.core.repository.jpa.catalog.ProductRepository.
  </code></pre>
  
  <p>In my App.java file, i have the following lines (which should avoid the ambiguity)</p>
  
  <pre><code>@EnableJpaRepositories(basePackages = {"com.ecommerce.core.repository.jpa"})
  @EnableElasticsearchRepositories(basePackages= {"com.ecommerce.core.repository.elastic"})
  @EnableRedisRepositories(basePackages = {"org.springframework.data.redis.connection.jedis"})
  </code></pre>
  
  <p>Every spring data repository extends specific for his job Interface (mainly JpaRepository and one of ElasticsearchCrudRepository</p>
  
  <p>I read this -<a href="https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.multiple-modules.types" rel="noreferrer">https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.multiple-modules.types</a> and as you can see, everything should work without issues.</p>