A simple question: Is aspectjrt.jar required with the schema based configuration when only AspectJ style pointcuts are used and aspectjweaver.jar is in the classpath?
A simple question: Is aspectjrt.jar required with the schema based configuration when only AspectJ style pointcuts are used and aspectjweaver.jar is in the classpath?
aspectjweaver.jar is a superset of aspectrt.jar. So if you have the former in the classpath, you don't need the latter.
-Ramnivas
Ramnivas Laddad (Follow me on Twitter)
AspectJ in Action: Enterprise AOP with Spring Applications (2nd edition). Now available!
Hmm, I just peeked inside and yes, you are right.
So the reference at section 7.2 AspectJ support is a bit confusing :
"You will also need two AspectJ libraries on the classpath of your application: aspectjweaver.jar and aspectjrt.jar."