Skip to content

Tag: aspectj

Adding aspectJ language to define joinpoints

I’d like to define aspectj joinpoints not using annotations and string constants like this: but using aspecj language, like in this example: or Is there any good examples of how to add aspectj to the project to make maven compile this language properly and how to re-write @Before, @Around etc. annotations in aspecj language? Answer Here are some resources: the

java.lang.IllegalStateException: No thread-bound request found, exception in aspect

Following is my aspect: I do not get any compile time errors but I do following exception when I start my jetty server: nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a