title: Spring data jpa cannot find my custom implementation method
body: <p>I am trying to provide a Custom Implementation of repository using Spring Data JPA. I have :</p>
  
  <pre><code>public interface PersonRepositoryCustom{
  
      List&lt;Person&gt; chercher(String name);
  
  }
  </code></pre>
  
  <p>And the implementation :</p>
  
  <pre><code> public class PersonRepositoryImpl implements PersonRepositoryCustom{
  
          List&lt;Person&gt; chercher(String name){ 
  // my implementation
           }
  
      }
  </code></pre>
  
  <p>The two classes are in the jpa:repositories package</p>
  
  <p>Here is my Person DAO: </p>
  
  <pre><code>public interface IPersonDAO extends CrudRepository&lt;Person, Long&gt;,PersonRepositoryCustom{ 
  // other methods here
  }
  </code></pre>
  
  <p>When i launch the server i am getting the error :</p>
  
  <pre><code>org.springframework.data.mapping.PropertyReferenceException: No property chercher found for type Person
  at org.springframework.data.mapping.PropertyPath.&lt;init&gt;(PropertyPath.java:75)
      at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:327)
      at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:307)
      at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:270)
      at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:241)
      at org.springframework.data.repository.query.parser.Part.&lt;init&gt;(Part.java:76)
      at org.springframework.data.repository.query.parser.PartTree$OrPart.&lt;init&gt;(PartTree.java:201)
      at org.springframework.data.repository.query.parser.PartTree$Predicate.buildTree(PartTree.java:291)
      at org.springframework.data.repository.query.parser.PartTree$Predicate.&lt;init&gt;(PartTree.java:271)
      at org.springframework.data.repository.query.parser.PartTree.&lt;init&gt;(PartTree.java:80)
      at org.springframework.data.jpa.repository.query.PartTreeJpaQuery.&lt;init&gt;(PartTreeJpaQuery.java:57)
      at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:91)
      at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateIfNotFoundQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:162)
      at org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:69)
      at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.&lt;init&gt;(RepositoryFactorySupport.java:304)
      at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:161)
      at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:224)
      at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:210)
      at org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:84)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612)
  </code></pre>