Spring包导入错误
The hierarchy of the type My_BeforeMethod_Advice is inconsistent
The type org.aopalliance.aop.Advice cannot be resolved. It is indirectly referenced from required .class files
出现上述错误是因为导入的Spring包版本错误。
解决方法:把Spring 3.x换成Spring 2.x就可以了。
如果觉得本文对您有帮助,请“打赏”,谢谢。
您的鼓励,我的动力。
您的鼓励,我的动力。