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
Tag: aspectj
AspectJ pointcut expression match parameter annotations at any position
I’m trying to define a pointcut expression to match methods which contain a parameter annotated with a specific annotation, regardless of what position the parameter is in. In my case I’m looking for the @Constraint annotation. For example: Matching methods: So far I’ve tried the following expressions with no luck: Can someone point me to the right solution? is it
NoAspectBoundException with aspectj and tapestry 5
I have a web project built with Tapestry 5.2.1. I have a simple logging aspect that I was using for tracing on this application. Everything was working fine until I started refactoring parts of the application and attempted to deploy it. When I deploy the application, no matter what page I attempt to go to I get the following exception:
Maven: compile aspectj project containing Java 1.6 source
Primary Question What I want to do is fairly easy. Or so you would think. However, nothing is working properly. Requirement: Using maven, compile Java 1.6 project using AspectJ compiler. Note: Our code cannot compile with javac. That is, it fails compilation if aspects are not woven in (because we have aspects that soften exceptions). Update 2/21/2011: There are two