Shailesh Pratapwar
Shailesh Pratapwar

Reputation: 4224

Corda R3 DeployNodes command is failing for example cordapp

I have downloaded the source code of example cordapp from here. I am getting following error when I give the command : gradle deployNodes.

Please guide me on what can be done. Note: This is 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

Upvotes: 4

Views: 1094

Answers (2)

Joel
Joel

Reputation: 23140

This is fixed in Corda 3.1. Upgrade notes here: https://docs.corda.net/upgrade-notes.html#v3-0-to-v3-1.

Upvotes: 0

Matthieu Merlyn
Matthieu Merlyn

Reputation: 138

Also faced the same issue on V2 to V3 migration. I had to downgrade Gradle from 4.5.1 to 4.1 in my project to get it working again.

Upvotes: 2

Related Questions