在继承接口ThrowsAdvice时,出现错误The hierarchy of the type is inconsistent,后查原因可能:这个接口或者以上的接口所在的jar包还没被引入
解决方法:引入相关jar,比如实现接口ThrowsAdvice,除了引入Spring的相关jar,还要引入com.springsource.org.aopalliance的jar
The hierarchy of the type is inconsistent错误
最新推荐文章于 2024-08-14 13:37:18 发布