添加aop:aspect标签,并使用ref属性将其指向我们刚刚注册的AOP类Bean:

<aop:config>
    <aop:pointcut id="test" expression="execution(* org.example.entity.Student.study())"/>
    <aop:aspect ref="studentAOP">
				
    </aop:aspect>
</aop:config>