Java.lang.AbstractMethodError:RemoteFileOutboundChannelAdapterParser.getTemplateClass()Ljava/lang/Class [已关闭]

qv7cva1a  于 2023-06-04  发布在  Java
关注(0)|答案(1)|浏览(186)

已关闭,此问题需要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;

muk1a3rh

muk1a3rh1#

RemoteFileOutboundChannelAdapterParser.getTemplateClass()spring-integration-file模块中的abstract方法的问题。它的impls是在spring-integration-ftpspring-integration-sftp。这些模块也需要升级。更准确地说,Spring Integration deps必须在同一个版本中。更好的是,依靠org.springframework.integration:spring-integration-bom依赖项管理在一个地方指定版本,并让BOM管理其余部分。

相关问题