2017-07-16 75 views
0

我試圖與Hyperlegder Java SDK一起工作,但無法找到Shim-client jar。看到下面的錯誤。Hyperlegder Shim-client-1.0 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

編輯下載源:源URL是https://github.com/hyperledger/fabric/tree/release/core/chaincode/shim/java

之所以能夠下載回購和gradle這個構建以獲取JAR文件。

回答

-1

使用波紋管的依賴

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

我已經有織物的Java SDK的依賴,我需要的是墊片的客戶端 – codegidi