我想写一个拦截器,
package com.demo.spring.aop;
import org.springframework.aop.MethodBeforeAdvice;
import java.lang.reflect.Method;
public class LoggingInterceptor implements MethodBeforeAdvice {
public void before(Method method, Object[] objects, Object o) throws Throwable {
}
}
但是它却提示The hierarchy of the type LoggingInterceptor is inconsistent
这是什么回事啊?