Skip to content
Advertisement

Tag: aspectj

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

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

Advertisement