未解决的参考:建立Corda时绑定

时间:2018-05-17 08:10:06

标签: corda

在Corda中,我试图通过运行以下命令来构建网络引导程序:

./gradlew buildBootstrapperJar

但是我收到了以下错误:

e: /Users/anon/Documents/corda/core/src/main/kotlin/net/corda/core/utilities/ByteArrays.kt: (11, 18): Unresolved reference: bind
e: /Users/anon/Documents/corda/core/src/main/kotlin/net/corda/core/utilities/ByteArrays.kt: (179, 39): Unresolved reference: DatatypeConverter
e: /Users/anon/Documents/corda/core/src/main/kotlin/net/corda/core/utilities/ByteArrays.kt: (185, 38): Unresolved reference: DatatypeConverter
e: /Users/anon/Documents/corda/core/src/main/kotlin/net/corda/core/utilities/EncodingUtils.kt: (11, 18): Unresolved reference: bind
e: /Users/anon/Documents/corda/core/src/main/kotlin/net/corda/core/utilities/EncodingUtils.kt: (32, 33): Unresolved reference: DatatypeConverter
e: /Users/anon/Documents/corda/core/src/main/kotlin/net/corda/core/utilities/EncodingUtils.kt: (50, 42): Unresolved reference: DatatypeConverter

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:compileKotlin'.
> Compilation error. See log for more details

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

这通常是由运行错误的JDK版本引起的。请参阅此处的要求:https://docs.corda.net/getting-set-up.html#software-requirements