引入的组件是flink-clients,flink-java,flink-streaming-java以上组件版本为1.18.1,flink-connector-kafka版本为3.0.2-1.18,springBoot版本为2.6.9
参考 Re: Getting java.lang.ClassNotFoundException in Tests (Flink 1.18.0)
The missing class is in "flink-core", I think adding that dependency will
provide it.The release notes for 1.14 note that Connectors no longer bundle
"flink-core". I imagine this is what has caused your issue.
https://nightlies.apache.org/flink/flink-docs-release-1.18/release-notes/flink-1.14/#connector-base-exposes-dependency-to-flink-core
您好,在您的回答链接中有如下一段内容
Re: Getting java.lang.ClassNotFoundException in Tests (Flink 1.18.0)
Barak Ben-Nathan Sun, 03 Dec 2023 00:32:14 -0800
Hi guys,
Forking in sbt solved the issue (Test / fork := true).
请问您可以解答一下以上回复内容吗?