Java Bean初始化异常
我是春天的新手。当我运行一个进程时,我得到了这个异常。有什么办法可以克服吗Java Bean初始化异常,java,spring,Java,Spring,我是春天的新手。当我运行一个进程时,我得到了这个异常。有什么办法可以克服吗 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'odinConfigurer' defined in class path resource [CMA-dao.xml]: Initialization of bean failed; nested exception is java.lang.N
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'odinConfigurer' defined in class path resource [CMA-dao.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationUtils.getAnnotation(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
看起来像
您正在使用
public static <A extends Annotation> A getAnnotation(AnnotatedElement element,
Class<A> annotationType)
publicstatic您遇到了某种类路径问题。如果没有更多关于如何配置和启动程序的详细信息,那么很难说。
public static <A extends Annotation> A getAnnotation(Method method,
Class<A> annotationType)