title: No property found for type... custom Spring Data repository
body: <p>I'm trying to implement a custom Spring repository. I have the interface:</p>
  
  <pre><code>public interface FilterRepositoryCustom {
      List&lt;User&gt; filterBy(String role);
  }
  </code></pre>
  
  <p>the implementation:</p>
  
  <pre><code>public class FilterRepositoryImpl implements FilterRepositoryCustom {
  ...
  }
  </code></pre>
  
  <p>and the "main" repository, extending my custom repository:</p>
  
  <pre><code>public interface UserRepository extends JpaRepository&lt;User, String&gt;, FilterRepositoryCustom {
  ...
  }
  </code></pre>
  
  <p>I'm using Spring Boot and, according to the <a href="https://spring.io/guides/gs/accessing-data-jpa/" rel="noreferrer">docs</a>:</p>
  
  <blockquote>
    <p>By default, Spring Boot will enable JPA repository support and look in
    the package (and its subpackages) where @SpringBootApplication is
    located.</p>
  </blockquote>
  
  <p>When I run my application, I get this error:</p>
  
  <blockquote>
    <p>org.springframework.data.mapping.PropertyReferenceException: No property filterBy found for type User!</p>
  </blockquote>