spring-data-jpa dependency causes build failure
<p>I'm developing a web application based on spring framework. Currently, I haven't used the spring-data module in the project and I have written a generic repository myself. Code builds fine(Using maven) and I can run the Junit test cases without a problem.</p>

<p>Now I'm trying to use spring-data module in my DAO layer. But when I include the spring-data-jpa dependency in the pom file without doing anything else, test cases fail with following error.</p>

<pre><code>java.lang.NoSuchMethodError: org.springframework.beans.factory.config.ConfigurableListableBeanFactory.clearMetadataCache()V
</code></pre>

<p>Spring framework version I'm using is 4.2.3.RELEASE, and the spring-data-jpa version is 1.9.2.RELEASE. </p>

<p>Can you please shed some light to solve this problem.</p>