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就可以了。
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就可以了。
转载于:https://www.cnblogs.com/zongzhankui/archive/2011/08/29/5875351.html