The hierarchy of the type MethodBeforeAdvice is inconsistent, 这个问题是因为 aopalliance-1.0.jar没有导入。 导入后就可以了。