我遵循了文档中的以下指示: https://docs.corda.net/network-bootstrapper.html#bootstrapping-a-test-network
然后我在命令下面运行:
java -jar corda-network-bootstrapper-3.2-corda-executable.jar --dir C:\Project\Blockchain\bootstrapper
但是在命令窗口下面显示了错误:
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)
答案 0 :(得分:1)
对于3.2,我改为执行以下操作,并且它起作用: java -jar corda-network-bootstrapper-3.2-corda-executable.jar
答案 1 :(得分:0)
以下内容有效-
java -jar c:\ Corda \ tools \ corda-network-bootstrapper-3.2-corda-executable.jar C:\ Corda \ test_network \ sample \
在C:\ Corda \ test_network \ sample \中,我有3个节点conf文件,这生成了所有必需的节点,并且引导程序完成,并显示消息-
引导完成!