Using AspectJ on JSP

581 views Asked by At

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 advance!

1

There are 1 answers

0
maqqju On BEST ANSWER

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!