Fork me on GitHub

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就可以了。

posted @ 2011-08-29 09:33  Zong_在路上  阅读(186)  评论(0编辑  收藏  举报