首页 > 其他 > 详细

The hierarchy of the type GreetingBeforeAdvice is inconsistent

时间:2015-05-21 22:41:58      阅读:369      评论:0      收藏:0      [点我收藏+]


    今天照着《spring3.x企业应用开发实战》敲代码时,碰到这个问题,找了一下,发现是缺少jar包引起的问题。

    The hierarchy of the type GreetingBeforeAdvice is inconsistent 直译的话,是类的层次结构不一致。


    怎么理解呢? 当前的类继承于某个类,这个类或者这个类继承的类或者再往上继承的某个类所在的jar包没有被引入。


具体到自己的jar包问题

技术分享



自己的spring引入jar包有

技术分享


添加上缺失的jar包 aopalliance-1.0.jar

技术分享


问题得到解决

技术分享

The hierarchy of the type GreetingBeforeAdvice is inconsistent

原文:http://blog.csdn.net/magi1201/article/details/45895867

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!