spring aop编程遇到如下问题

/context:component-scan
这一行出现错误显示错误消息为:Pointcut is malformed: error at ::0 formal unbound in 

我在配置Aspect中使这样的@Before("execution(public int com.test.spring.aop.impl.ArithmeticCalaculator.add(int,int))")
不知道哪里出错了。求大神击破!

http://www.iteye.com/problems/85848

@Before("anyMethod() && args(name)") 后面的args是add方法的参数名字,你那有俩就写俩试一试。
@Pointcut("execution(* com.test.spring.aop.impl.ArithmeticCalaculator.*(..))")

http://blog.csdn.net/gxftry1st/article/details/8215698