aop错误集锦-error at ::0 formal unbound in pointcut
出錯原因:aop方法参数写漏了
---aop的afterThrow 漏掉了一个参数ex绑定
public void afterThrow(JoinPoint joinPoint,Exception ex)
原:<aop:after-throwing method="afterThrow" pointcut-ref="xmlPointCut" />
后:<aop:aft...
原创
2020-03-05 10:47:09 ·
639 阅读 ·
0 评论