【问题标题】:Hyperlegder Shim-client-1.0 Jar missing on complilation编译时缺少 Hyperledger Shim-client-1.0 Jar
【发布时间】:2017-07-16 14:34:04
【问题描述】:

我正在尝试使用 Hyperlegder Java SDK,但无法找到 Shim 客户端 jar。请参阅下面的错误。

Information:java: Errors occurred while compiling module 'maven'
Information:javac 1.8.0_74 was used to compile java sources
Information:Module "maven" was fully rebuilt due to project configuration/dependencies changes
Information:16/07/2017, 3:08 PM - Compilation completed with 34 errors and 0 warnings in 14s 362ms 
    /Java/src/main/java/ZoneSDKInterface.java
    Error:(11, 35) java: package org.hyperledger.fabric.shim does not exist
    Error:(12, 35) java: package org.hyperledger.fabric.shim does not exist

我在网上看到的所有资源都要求我从丢失的 Git 存储库中下载源代码 -≥ https://github.com/hyperledger/fabric/core/chaincode/shim/java

编辑:源网址是https://github.com/hyperledger/fabric/tree/release/core/chaincode/shim/java

能够下载 repo 和 gradle build 以获取 JAR 文件。

【问题讨论】:

    标签: maven hyperledger hyperledger-fabric


    【解决方案1】:

    使用波纹管依赖

    <dependency>
      <groupId>me.reactiv.fabric-java-sdk</groupId>
      <artifactId>fabric-java-sdk</artifactId>
      <version>0.6.6</version>
    </dependency>
    

    【讨论】:

    • 我已经有了fabric java SDK依赖,我需要的是shim-client
    猜你喜欢
    • 1970-01-01
    • 2016-04-05
    • 2016-06-25
    • 2016-07-11
    • 2016-09-27
    • 1970-01-01
    • 1970-01-01
    • 2023-03-10
    • 1970-01-01
    相关资源
    最近更新 更多