@Pointcut在eclipse运行出错

@Pointcut("execution(public * com.dao..*.*(..))")

public void myMethod(){};

其他方法调用myMethid()如:

@Before("myMethod()")

运行时报错,查到另一个解释是eclipse版本太新,换个旧版本就解决了,不知道还有没有其他解决方法。

posted on 2014-11-02 22:26  chuansao  阅读(264)  评论(0编辑  收藏  举报