通过基于AspectJ 注解的方式实现Spring AOP报 can't find referenced pointcut myPointCut 错误,我的解决方法

 

检查了很多遍,但就是报can't find referenced pointcut myPointCut 错误,代码确实无误,后来查了知道是aspectjweaver版本低了。

用aspectjweaver高版本的jar包解决了该问题,我使用的是 aspectjweaver-1.9.6.jar

 

 

 

感谢:https://blog.csdn.net/u010003835/article/details/51471208

posted @ 2020-11-14 22:28  小庄的blog  阅读(204)  评论(0编辑  收藏  举报