【问题标题】:Rekognition namespaces aren't resolved in Eclipse AWS toolkitEclipse AWS 工具包中未解析 Rekognition 命名空间
【发布时间】:2018-12-10 15:46:29
【问题描述】:

在 Amazon Rekognition 开发人员指南中有一个教程“创建 AWS Toolkit for Eclipse Lambda 项目”

它告诉我通过这样做来解决 Eclipse 中的命名空间问题:

 The Rekognition namespaces aren't resolved. To correct this:
• Pause your mouse over the underlined portion of the line import
com.amazonaws.services.rekognition.AmazonRekognition;.
• Choose Fix project set up... .
• Choose the latest version of the Amazon Rekognition archive.
• Choose OK to add the archive to the project 

但是,我无法选择最新的 Amazon Rekognition 存档。 No option to add archive

还有其他方法可以加载此存档或强制安装此存档吗?

【问题讨论】:

    标签: eclipse amazon-web-services aws-java-sdk aws-toolkit


    【解决方案1】:

    根据 AWS 支持代表的说法:

    The AWS Rekognition SDK is configured in the pom.xml file which is managed by Maven. You should see something like this in your pom.xml
    
    
    
    <dependency>
        <groupId>com.amazonaws</groupId>
        <artifactId>aws-java-sdk-rekognition</artifactId>
    </dependency>
    
    
    Maven will pull this package automatically for you.
    

    我没有直接更改我的 pom。我在 eclipse 中创建了一个新的 aws java 项目并下载了一堆示例。当我回到问题文件时,它能够看到 rekognition 存档作为一个选项。

    【讨论】:

      猜你喜欢
      • 2012-02-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多