编译错误:“无法解析项目的依赖项” - Managed Service for Apache Flink
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

Amazon Managed Service for Apache Flink 之前称为 Amazon Kinesis Data Analytics for Apache Flink。

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

编译错误:“无法解析项目的依赖项”

要编译 Managed Service for Apache Flink示例应用程序,您必须先下载并编译 Apache Flink Kinesis 连接器,然后将其添加到本地 Maven 存储库中。如果尚未将连接器添加到存储库中,则会显示类似下面的编译错误:

Could not resolve dependencies for project your project name: Failure to find org.apache.flink:flink-connector-kinesis_2.11:jar:1.8.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced

要解决该错误,您必须下载连接器的 Apache Flink 源代码(位于 https://flink.apache.org/downloads.html 中的版本 1.8.2)。有关如何下载、编译和安装 Apache Flink 源代码的说明,请参阅将 Apache Flink Kinesis Streams 连接器与之前的 Apache Flink 版本一起使用