Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.aop.support.AopUtils.selectInvocableMethod(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/reflect/Method;
1.改造老的dubbo工程的时候,转换为springboot web服务,在启动时报错error create bean with name requestmappinghandlermapping :nvocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.aop.support.AopUtils.selectInvocableMethod(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/reflect/Method;
后面找到好久资料才知道是spring-context的版本跟spring-aop版本不兼容,spring-context对应的aop 的AopUtils要有selectInvocableMethod 方法,不然就会报这个方法反射拿不到