XML アプリケーションコンテキストの <component-scan> にある矛盾した <filter> 定義を報告します。

例:


  public class NonAnnotationTypeClass {}

  <beans>
    <ctx:component-scan base-package="com.my.company">
      <ctx:exclude-filter expression="com.my.company.anno.NonAnnotationTypeClass" type="annotation"/>
    </ctx:component-scan>
  </beans>

上の例では、NonAnnotationTypeClass はアノテーション型にする必要があります。