Corda R3 DeployNodes 命令失败,例如 cordapp

Corda R3 DeployNodes command is failing for example cordapp

我已经从 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

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

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