我想运行 Flink 文档中的简单示例。 开始后我得到异常:
Unable to make field private final byte[] java.lang.String.value accessible:
module java.base does not "opens java.lang" to unnamed module @228575c0
已安装:
Python 3.10.6
openjdk version "19.0.2" 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)
来自 flink 站点的简单代码:
https://nightlies.apache.org/flink/flink-docs-master/api/python/examples/datastream/word_count.html