已关闭,此问题需要details or clarity。目前不接受答复。
**想改善这个问题吗?**通过editing this post添加详细信息并澄清问题。
4天前关闭。
Improve this question
我正在将Spring版本迁移到旧应用程序中的最新版本(5.2.6.RELEASE),并遇到以下错误。我该怎么办呢?
Caused By:org.springframework.beans.factory.BeanDefinitionStoreException:从类路径资源[abc.xml]解析XML文档时出现意外异常;嵌套异常为java.lang.AbstractMethodError:org.springframework.integration.file.config.RemoteFileOutboundChannelAdapterParser.getTemplateClass()Ljava/lang/Class;
1条答案
按热度按时间muk1a3rh1#
RemoteFileOutboundChannelAdapterParser.getTemplateClass()
是spring-integration-file
模块中的abstract
方法的问题。它的impls是在spring-integration-ftp
和spring-integration-sftp
。这些模块也需要升级。更准确地说,Spring Integration deps必须在同一个版本中。更好的是,依靠org.springframework.integration:spring-integration-bom
依赖项管理在一个地方指定版本,并让BOM管理其余部分。