SCDF 从 Spring Boot 2.7.18 升级到 3.1.0 时出现的问题

问题描述 投票:0回答:1

我正在将现有的 scdf 应用程序从 spring boot 2.7.18 升级到 3.1.0。我在启动过程中遇到以下错误。

java.lang.NoClassDefFoundError:org/springframework/boot/actuate/autoconfigure/metrics/export/wavefront/WavefrontProperties 在org.springframework.cloud.dataflow.server.config.MetricsReplicationEnvironmentPostProcessor.postProcessEnvironment(MetricsReplicationEnvironmentPostProcessor.java:107)。

我看到我的类路径中有一个 org.springframework.boot.actuate.autoconfigure.wavefront.WavefrontProperties 。 当我说 scdf spring boot 2.7.18 版本时,我的意思是我的 scdf 应用程序的父级是 spring boot 2.7.18

我的 scdf 应用程序在 Spring Boot 2.7.18 上运行良好。一旦我升级到 3.1.0,它就会出错

spring-cloud-dataflow
1个回答
0
投票

现有的 SCDF 2.11.3 或更早版本无法与 Spring Boot 3.x 一起使用

您可以使用 Boot 3.x 创建任务/批处理或流应用程序,并使用 SCDF 2.11.x 编排这些应用程序。

您无法在 Boot 3.x 应用程序中使用任何 SCDF 2.x 库。

© www.soinside.com 2019 - 2024. All rights reserved.