开发者

Using AspectJ on JSP

开发者 https://www.devze.com 2022-12-11 02:26 出处:网络
I am trying to use AspectJ on my java beans, which I will use eventually in a JSP. Can anybody lead me to do this? Because I really cannot succeed, even though the thing seems to be trivial!

I am trying to use AspectJ on my java beans, which I will use eventually in a JSP.

Can anybody lead me to do this? Because I really cannot succeed, even though the thing seems to be trivial!

Also, the tomcat is telling me org.aspectj.lang.NoAspectBoundException

Thanks in a开发者_JAVA百科dvance!


hey i managed to solve it!

followed this tutorial forums.sun.com/thread.jspa?threadID=5401681/

… it is important for the newbies (like me), you have to declare the aop.xml, by right-clicking on your project drop-down the AspectJ-Build and Add the aop.xml also, in your class path (of the Run Configuration) you have to add the aspectjrt.jar this should work!

0

精彩评论

暂无评论...
验证码 换一张
取 消