<aop:config>
<!--切入点-->
<aop:pointcut id="pointcut" expression="execution(* com.ct.service.UserServiceImpl.*(..))"/>
<!--执行环绕增加-->
<aop:advisor advice-ref="log" pointcut-ref="pointcut"/>
<aop:advisor advice-ref="afterLog" pointcut-ref="pointcut"/>
</aop:config>
pointcut-ref
我写成了pointcut
,所以一直报错。