jar包也都引了进去 用的3.0.6    
package com.jeedroid.beforeadvice;import java.lang.reflect.Method;import org.springframework.aop.MethodBeforeAdvice;public class BeforeMyClass implements MethodBeforeAdvice
{ @Override
public void before(Method arg0, Object[] arg1, Object arg2)
throws Throwable
{
// TODO Auto-generated method stub

}}
这个类  咋回事啊  BeforeMyClass 和MethodBeforeAdvice 下面被eclipse标了错

解决方案 »

  1.   

    package test;import java.lang.reflect.Method;import org.springframework.aop.MethodBeforeAdvice;public class BeforeMyClass implements MethodBeforeAdvice { public void before(Method arg0, Object[] arg1, Object arg2)
    throws Throwable { }}
    没错,哈哈哈
      

  2.   

    下个aopalliance-1.0.jar,放到工程里面去。就可以了。
    我和你遇到了同样的问题。刚刚解决了。