【发布时间】:2021-10-02 09:55:35
【问题描述】:
我正在运行corda 4.5。使用 gradle 任务 deployNodes 运行时,我的流程运行良好。但是,当我为使用网络引导程序创建的节点运行流程时,我会遇到以下异常。
Mon Jul 26 12:43:10 GMT 2021>>> start CreateAccount name: accountOne
▶︎ Starting
✘ Requesting signature by notary service
✘ Requesting signature by Notary service
✘ Validating response from Notary service
✘ Broadcasting transaction to participants
✘ Done
☂ java.lang.IllegalArgumentException: Flow sessions were not provided for the following transaction participants: [O=PartyA, L=New York, C=US]
来自日志:
inMemoryConfigSelectionLogger. - Did not detect a configuration for InMemory selection - enabling memory usage for token indexing. Please set stateSelection.inMemory.enabled to "false" to disable this
inMemoryConfigSelectionLogger. - No indexing method specified. Indexes will be created at run-time for each invocation of selectTokens - Cordapp configuration is incorrect due to exception - empty config: No configuration setting found for key 'stateSelection'
【问题讨论】:
-
请添加有关问题的信息,如果您正在运行 deployNodes 任务并且工作正常,则表示您的流程正常。我猜你的引导程序创建的网络不正确。
-
这是我推荐的博客-corda.net/blog/…
-
我们需要更多详细信息。你可以粘贴你的代码吗? @user16528894
标签: blockchain corda