今天在使用AOP的过程中,总是报错:
Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut allAddMethod
通过网上的小伙伴们的博客,发现解决方案如下:
替换lib中的jar包:aspectjweaver.jar
下载地址为:http://www.eclipse.org/aspectj/downloads.php
下载aspectj-1.8.4.jar后解压,在lib中即可找到:aspectjweaver.jar
记录下来,希望对遇到同样问题的你有所帮助
在使用AOP时遇到错误:'error at ::0 can't find referenced pointcut allAddMethod',通过替换lib中的aspectjweaver.jar文件解决了问题。下载地址为:http://www.eclipse.org/aspectj/downloads.php。本文档可能对遇到相同错误的读者有所帮助。
5403

被折叠的 条评论
为什么被折叠?



