Jiachuan Li
Jiachuan Li

Reputation: 315

Network bootstrapper could not generate node info files

I followed below instruction in the documentation: https://docs.corda.net/network-bootstrapper.html#bootstrapping-a-test-network

And I have below structure of the node info root folder Original Structure

Then I run below command:

java -jar corda-network-bootstrapper-3.2-corda-executable.jar --dir C:\Project\Blockchain\bootstrapper

But in the command window below error was shown:

Bootstrapping local network in C:\Project\Blockchain\bootstrapper\--dir
Exception in thread "main" java.lang.IllegalArgumentException: No nodes found
        at net.corda.nodeapi.internal.network.NetworkBootstrapper.bootstrap(NetworkBootstrapper.kt:73)
        at net.corda.nodeapi.internal.network.NetworkBootstrapper$Companion.main(NetworkBootstrapper.kt:64)
        at net.corda.nodeapi.internal.network.NetworkBootstrapper.main(NetworkBootstrapper.kt)

Upvotes: 0

Views: 352

Answers (2)

Larsen
Larsen

Reputation: 804

The below worked -

java -jar c:\Corda\tools\corda-network-bootstrapper-3.2-corda-executable.jar C:\Corda\test_network\sample\

In C:\Corda\test_network\sample\, I had 3 node conf files and this generated all the required nodes and the bootstrapping completed with the message -

Bootstrapping complete!

Upvotes: 0

inuka_g
inuka_g

Reputation: 13

For 3.2 I did the following instead and it worked: java -jar corda-network-bootstrapper-3.2-corda-executable.jar

Upvotes: 1

Related Questions