This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Here ref "audienceAdvice" is the bean that implements MethodInterceptor interface & ref "performancePointcut" is a bean with class "org.springframework.aop.support.DefaultPointcutAdvisor"
While running the program I am getting the following error message:
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'audienceAdvisor' defined in file [F:\Eclipse\eclipse\workspace\First Spring Project\bean.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice
It looks like error is related to the propery "advice" of the above bean.(Not sure). I have also added the "aopalliance-alpha1.jar in my classpath.