Cucumber-spring dependency issue
<p>I'm trying to write integration test for DAO using cucumber.
When I try to add the following dependency </p>

<pre><code>&lt;dependency&gt;
    &lt;groupId&gt;info.cukes&lt;/groupId&gt;
    &lt;artifactId&gt;cucumber-spring&lt;/artifactId&gt;
    &lt;version&gt;1.1.5&lt;/version&gt;
&lt;/dependency&gt;
</code></pre>

<p>I'm getting following error.</p>

<p><a href="http://i.stack.imgur.com/ktr4s.png" rel="nofollow">Error message</a></p>

<p>When I take out the dependency for spring, feature file is running and generating step definitions but I'm unable inject spring beans into step definitions.</p>

<p>Any suggestions.
Thanks</p>