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?
Printable View
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
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."