I am new to spring-aop concepts.
I am getting this error during compilation.
org.aspectj.weaver.tools.UnsupportedPointcutPrimitiveException: P
Spring uses (by default) proxy based AOP and as such has only limited support for joinpoint expression. The call
join point that isn't supported only the execution
join point is. The supported join point expressions are documenten here.
Next to that you are trying to apply AOP to a non Spring managed bean this will also not work with a proxy based solution.
For both situations you need to use either load or compile time weaving to make it work.