Using AspectJ on JSP
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!
精彩评论