如何解决创建 bean 时出现运行时错误 java.lang.AbstractMethodError:
我的 spring 5 应用程序运行时出现错误。它在 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.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。