pointcut 属性または pointcut-ref 属性がない場合に、不正なアドバイスおよびアドバイザー要素を報告します。

例:


<beans>
    <aop:config>
      <aop:pointcut id="zzz" expression="args()"/>
        <aop:aspect ref="xxx">
            <aop:before method="writeArg1" pointcut="execution(* *(String))"/>
            <aop:after method="aaa" pointcut-ref="zzz"/>
            <aop:after-throwing method="aaa"/> <!-- 'pointcut' 属性または 'pointcut-ref' 属性のいずれかを定義する必要があります -->
       </aop:aspect>
    </aop:config>
</beans>