报告 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 应为注解类型。