Corda R3 DeployNodes命令失败,例如cordapp

时间:2018-03-19 08:52:12

标签: corda

我已从here下载了示例cordapp的源代码。 当我发出命令时,我收到以下错误: gradle deployNodes

请指导我做些什么。 注意:这是Corda V3。

> Task :java-source:deployNodes
Bootstrapping local network in C:\Blockchain\cordapp-example-release-V3\java-source\build\nodes
Node config files found in the root directory - generating node directories
Generating directory for Notary
Generating directory for PartyA
Generating directory for PartyB
Generating directory for PartyC
Nodes found in the following sub-directories: [Notary, PartyA, PartyB, PartyC]
Waiting for all nodes to generate their node-info files...
Distributing all node info-files to all nodes
Gathering notary identities


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':java-source:deployNodes'.
> java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unknown constant pool tag [I@5d453b56 in classfile module-info.class (element size unknown, cannot continue reading class. Please report this on the FastClasspathScanner GitHub page.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 45s
5 actionable tasks: 2 executed, 3 up-to-date

2 个答案:

答案 0 :(得分:2)

在V2到V3迁移时也面临同样的问题。我不得不在我的项目中将Gradle从4.5.1降级到4.1,以使其再次运行。

答案 1 :(得分:0)

这在Corda 3.1中已得到修复。在此处升级说明:https://docs.corda.net/upgrade-notes.html#v3-0-to-v3-1