【问题标题】:Import Azure Storage Library to Eclipse, Java将 Azure 存储库导入 Eclipse、Java
【发布时间】:2017-10-17 12:21:40
【问题描述】:

我是编码和云存储的新手,需要一些关于如何设置我的 Eclipse 的分步指导,以便我可以开始使用 Microsoft Azure 云存储。

所以基本上我正在关注这个 Azure 文件存储教程https://docs.microsoft.com/en-au/azure/storage/files/storage-java-how-to-use-file-storage

但是当我尝试将库导入到我的 Eclipse 中时,我收到错误“无法解析导入”

// Include the following imports to use blob APIs.
import com.microsoft.azure.storage.*; 
import com.microsoft.azure.storage.file.*;

我想我缺少一些库。我之前学会了通过 Jar 文件添加一些外部库,我搜索了 Jar for Azure cloud,但找不到。此页面似乎相关,但我不知道如何使用它。 https://github.com/azure/azure-storage-java

有人可以解释一下吗?

非常感谢。

【问题讨论】:

    标签: eclipse azure-storage


    【解决方案1】:

    我解决了。 对于其他遇到同样困难的新手程序员,这就是我的做法

    1.安装Azure Toolkit for Eclipse,关注:https://docs.microsoft.com/en-us/java/azure/eclipse/azure-toolkit-for-eclipse-installation

    2.重启Eclipse

    3.右键单击要使用Azure库的项目,然后属性>>Java构建路径>>库选项卡>>添加库>>选择Microsoft Azure Libraries for Java的包>>完成

    【讨论】:

      猜你喜欢
      • 2020-07-14
      • 2020-01-21
      • 2012-07-01
      • 2019-01-25
      • 1970-01-01
      • 2010-12-14
      • 1970-01-01
      • 2018-03-19
      • 1970-01-01
      相关资源
      最近更新 更多