AspectJ not capture calls from jar file

我的梦境 提交于 2019-12-04 19:42:41

You need to set up the AspectJ plugin for Eclipse (AJDT), so that it weaves library code as well, not just your own class files. You can do this by going to Project Properties -> AspectJ Build -> Inpath tab and add the jar files you want to be weaved by your aspects. Here is a screenshot of the dialog:

The library classes weaved like this will be dumped in your output classes folder unless you set up an Output jar on the third tab of the same properties page.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!