The annotation @Qualifier is disallowed for this location
<pre><code>@Override
@Autowired(required = true)
@Qualifier("hibernateCriteriaBuilder")
public void setCriteriaBuilder(IQueryCriteriaBuilder&lt;Entity&gt; criteriabuilder)
{
  super.setCriteriaBuilder(criteriaBuilder):
}
</code></pre>

<p>This in the code I have in a java file and i keep getting a error saying: "The annotation @qualifier is diallowed for this location." Can someone explain to me how I can fix this error? I have it twice in my code and have had trouble finding a solution. </p>