gpt4 book ai didi

java - CorDapp示例构建失败

转载 作者:行者123 更新时间:2023-12-02 00:41:15 34 4
gpt4 key购买 nike

[1。我正在尝试使用如下指导通过终端运行CorDapp示例-“ https://docs.corda.net/tutorial-cordapp.html#downloading-the-example-cordapp”。


现在,在运行“ gradlew.bat deployNodes”命令时,构建失败。
根据Pt#1中的链接,可以在“ workflow-kotlin / build / nodes”下获得创建的节点,但实际上批处理正在选择“ workflow-java / build / nodes”目录。
Java版本“ 1.8.0_221”; Java TM SE Runtime Environment(内部版本1.8.0_221-b11);
Java HotSpot(TM)64位服务器VM(内部版本25.221-b11,混合模式)
C:\ Users \ axsx1_000 \ samples \ cordapp-example> gradlew.bat deployNodes



任务:workflows-java:d​​eployNodes
运行Cordform任务


删除C:\ Users \ axsx1_000 \ samples \ cordapp-example \ workflows-java \ build \ nodes
在C:\ Users \ axsx1_000 \ samples \ cordapp-example \ workflows-java \ build \ nodes中引导本地测试网络
生成公证人的节点目录
为PartyA生成节点目录
为PartyB生成节点目录
为PartyC生成节点目录
等待所有节点生成其节点信息文件...

...还在等待。如果花费的时间比平时长,请检查节点日志。

生成节点信息文件C:\ Users \ axsx1_000 \ samples \ cordapp-example \ workflows-java \ build \ nodes \ PartyA \ logs时出错

2019-09-15 01:59:17,900主警告无法实例化org.fusesource.jansi.WindowsAnsiOutputStream
2019-09-15 01:59:17,900主警告无法实例化org.fusesource.jansi.WindowsAnsiOutputStream

日志可以在以下位置找到:C:\ Users \ axsx1_000 \ samples \ cordapp-example \ workflows-java \ build \ nodes \ PartyA \ logs


任务:workflows-java:d​​eployNodes失败


失败:生成失败,发生异常。


什么地方出了错:
任务':workflows-java:d​​eployNodes'的执行失败。


生成节点信息文件时出错。请检查C:\ Users \ axsx1_000 \ samples \ cordapp-example \ workflows-java \ build \ nodes \ PartyA \ logs中的日志。
生成节点信息文件时出错。请检查C:\ Users \ axsx1_000 \ samples \ cordapp-example \ workflows-java \ build \ nodes \ PartyA \ logs中的日志。



来自PartyA日志的错误如下:-
[INFO] 2019-09-15T07:31:04,484Z [main] liquibase.info-master.changelog.json:migration / common.changelog-init.xml :: 1511451595465-1.3 :: R3.Corda:跳过changeSet迁移/由于验证错误,common.changelog-init.xml :: 1511451595465-1.3 :: R3.Corda:h2不允许使用minValue
[INFO] 2019-09-15T07:31:04,781Z [main] liquibase.info-master.changelog.json:migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-11 :: R3.Corda:由于验证错误,跳过changeSet migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-11 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:04,796Z [main] liquibase.info-master.changelog.json:migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-12 :: R3.Corda:由于验证错误,跳过changeSet migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-12 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:04,812Z [main] liquibase.info-master.changelog.json:migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-13 :: R3.Corda:由于验证错误,跳过changeSet migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-13 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,281Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-1 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-1 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,281Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-2 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-2 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,281Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-3 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-3 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,281Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-4 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-4 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,281Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-5 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-5 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,421Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-6 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-6 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,468Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-7 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-7 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,499Z [main] liquibase.info-成功获取更改日志锁
[INFO] 2019-09-15T07:31:05,593Z [main] liquibase.info-master.changelog.json:migration / common.changelog-init.xml :: 1511451595465-1.3 :: R3.Corda:跳过changeSet迁移/由于验证错误,common.changelog-init.xml :: 1511451595465-1.3 :: R3.Corda:h2不允许使用minValue
[INFO] 2019-09-15T07:31:05,749Z [main] liquibase.info-master.changelog.json:migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-11 :: R3.Corda:由于验证错误,跳过changeSet migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-11 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,781Z [main] liquibase.info-master.changelog.json:migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-12 :: R3.Corda:由于验证错误,跳过changeSet migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-12 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,781Z [main] liquibase.info-master.changelog.json:migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-13 :: R3.Corda:由于验证错误,跳过changeSet migration / vault-schema.changelog-pkey.xml :: non-clustered_pk-13 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,812Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-1 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-1 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,812Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-2 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-2 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,812Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-3 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-3 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,812Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-4 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-4 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,812Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-5 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-5 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,812Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-6 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-6 :: R3.Corda:在h2上不允许集群
[INFO] 2019-09-15T07:31:05,812Z [main] liquibase.info-master.changelog.json:migration / node-core.changelog-pkey.xml :: non-clustered_pk-7 :: R3.Corda:由于验证错误,跳过changeSet migration / node-core.changelog-pkey.xml :: non-clustered_pk-7 :: R3.Corda:在h2上不允许集群
] 1

最佳答案

您使用的是哪种Corda版本?
如果您使用的是Corda 4,则可以尝试Corda 3,并检查是否发生相同的问题。
希望有帮助。

关于java - CorDapp示例构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57939316/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com