创建bean时发生spring运行时错误java.lang.abstractmethoderror错误:

e0bqpujr  于 2021-07-13  发布在  Java
关注(0)|答案(0)|浏览(328)

我的Spring5应用程序运行时出错。它在eclipse的调试模式下工作正常,但是在从应用程序上下文创建bean时抛出错误。下面我分享了错误日志。我已经多次重建jar并更改了清单文件中的依赖项,但在运行时仍然出现相同的错误。请给我建议。

org.springframework.beans.factory.BeanCreationException: Error creating bean wit
 h name 'LIQBeanFactory' defined in URL [jar:file:/D:/LoanIQ/Server/sdk-post/QNB_
 GL_V92_PROD_Encr.jar!/beanRefFactory.xml]: Bean instantiation via constructor fa
 iled; nested exception is org.springframework.beans.BeanInstantiationException:
 Failed to instantiate [org.springframework.context.support.ClassPathXmlApplicati
 onContext]: Constructor threw exception; nested exception is org.springframework
.beans.factory.BeanCreationException: Error creating bean with name 'LiqTransact
 ionManager' defined in class path resource [applicationContext.xml]: Initializat
 ion of bean failed; nested exception is java.lang.AbstractMethodError: Receiver
 class org.springframework.aop.framework.autoproxy.InfrastructureAdvisorAutoProxy
 Creator does not define or inherit an implementation of the resolved method abst
 ract postProcessPropertyValues(Lorg/springframework/beans/PropertyValues;[Ljava/
 beans/PropertyDescriptor;Ljava/lang/Object;Ljava/lang/String;)Lorg/springframewo
 rk/beans/PropertyValues; of interface org.springframework.beans.factory.config.I
 nstantiationAwareBeanPostProcessor.

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题