To enable compile time weaving of the spring aspects (spring-aspects.jar) in Intellij IDEA (I am using 7.0.3 - but I assume this to be similar for other versions):
After adding
CATALINA_OPTS=-javaagent:/path/to/aspectweaver-1.5.3.jar
tomcat started failing - giving an "Illegal type in constant pool" about log4j.
Or - why does it say my spring context xml is invalid on <aop:spring-configured/>