Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/355.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Eclipse:在以下期间发生内部错误:";“更新层次结构”;_Java_Eclipse_Google Cloud Dataflow - Fatal编程技术网

Java Eclipse:在以下期间发生内部错误:";“更新层次结构”;

Java Eclipse:在以下期间发生内部错误:";“更新层次结构”;,java,eclipse,google-cloud-dataflow,Java,Eclipse,Google Cloud Dataflow,我遵循创建数据流java项目的说明 当我试图按照说明中所述编辑运行配置时,我收到以下警报: An internal error occurred during: "Update Hierarchy". Tried to create a TypeHierarchyPipelineOptionsHierarchy for a Java Project bq-gettingstarted where no PipelineOptions type exists 我继续按照说明进行操作,忽略了上述内

我遵循创建数据流java项目的说明 当我试图按照说明中所述编辑运行配置时,我收到以下警报:

An internal error occurred during: "Update Hierarchy".
Tried to create a TypeHierarchyPipelineOptionsHierarchy for a Java Project bq-gettingstarted where no PipelineOptions type exists
我继续按照说明进行操作,忽略了上述内容,但随后我得到:

An internal error occurred during: "Launching BigQueryJavaGettingStarted (1)".
Tried to create a TypeHierarchyPipelineOptionsHierarchy for a Java Project bq-gettingstarted where no PipelineOptions type exists

任何解决方案?

当Eclipse项目的类路径中不存在
PipelineOptions
类型时,会发生该错误。这表示数据流
PipelineOptions
类不在Eclipse项目的类路径上

如果POM中包含
com.google.cloud.dataflow:google cloud dataflow java sdk all
,并且项目已编译,则maven依赖关系可能尚未正确解决。从项目上下文菜单中,选择Maven->Update项目项,选中“强制更新快照/发布”复选框,然后运行更新。这应该确保Dataflow Jar位于类路径上,这将使Dataflow Eclipse插件能够解析基本的
PipelineOptions
类,以及
PipelineOptions
类层次结构的其余部分