net.corda.testing.node.internal.ListenProcessDeathException:预期在localhost:10000上侦听的进程已死亡,状态为:1 [英] net.corda.testing.node.internal.ListenProcessDeathException: The process that was expected to listen on localhost:10000 has died with status: 1

查看:47
本文介绍了net.corda.testing.node.internal.ListenProcessDeathException:预期在localhost:10000上侦听的进程已死亡,状态为:1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建示例 corDapp cordapp-example-release-V3 时遇到以下错误:

Getting the below errors while building the sample corDapp cordapp-example-release-V3 :

[INFO] 14:29:29,050 [driver-pool-thread-0](NodeInfoFilesCopier.kt:63)network.NodeInfoFilesCopier.addConfig-现在观看:C:\ Users \ purni \ Downloads \ cordapp-example-release-V3 \ build \ 20180413-085907.908 \ PartyA {}[INFO] 14:29:29,050 [driver-pool-thread-0](DriverDSLImpl.kt:814)internal.DriverDSLImpl.startOutOfProcessNode-启动进程外节点PartyA,调试端口为5008,未启用jolokia监视端口{}

[INFO ] 14:29:29,050 [driver-pool-thread-0] (NodeInfoFilesCopier.kt:63) network.NodeInfoFilesCopier.addConfig - Now watching: C:\Users\purni\Downloads\cordapp-example-release-V3\build\20180413-085907.908\PartyA {} [INFO ] 14:29:29,050 [driver-pool-thread-0] (DriverDSLImpl.kt:814) internal.DriverDSLImpl.startOutOfProcessNode - Starting out-of-process Node PartyA, debug port is 5008, jolokia monitoring port is not enabled {}

在节点启动时遇到异常: net.corda.testing.node.internal.ListenProcessDeathException :预期在 localhost:10000 上侦听的进程已因状态:1

Encountered exception in node startup: net.corda.testing.node.internal.ListenProcessDeathException: The process that was expected to listen on localhost:10000 has died with status: 1

java.util.concurrent.ExecutionException:net.corda.testing.node.internal.ListenProcessDeathException:预期在localhost:10000上侦听的进程已死,状态为:1在java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)在java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895)位于net.corda.core.internal.concurrent.CordaFutureImpl.get(CordaFutureImpl.kt)在com.example.NodeDriver.lambda $ main $ 0(NodeDriver.java:44)在net.corda.testing.node.internal.DriverDSLImplKt.genericDriver(DriverDSLImpl.kt:958)在net.corda.testing.driver.Driver.driver(Driver.kt:186)在com.example.NodeDriver.main(NodeDriver.java:32)原因:net.corda.testing.node.internal.ListenProcessDeathException:预期在localhost:10000上侦听的进程已死,状态为:1在net.corda.testing.node.internal.InternalTestUtilsKt $ addressMustBeBoundFuture $ 1.invoke(InternalTestUtils.kt:39)在net.corda.testing.node.internal.InternalTestUtilsKt $ addressMustBeBoundFuture $ 1.invoke(InternalTestUtils.kt)在net.corda.testing.node.internal.InternalTestUtilsKt $ poll $ task $ 1.run(InternalTestUtils.kt:86)在java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)在java.util.concurrent.FutureTask.run(FutureTask.java:266)在java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 201(ScheduledThreadPoolExecutor.java:180)在java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)在java.lang.Thread.run(Thread.java:748)

java.util.concurrent.ExecutionException: net.corda.testing.node.internal.ListenProcessDeathException: The process that was expected to listen on localhost:10000 has died with status: 1 at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1895) at net.corda.core.internal.concurrent.CordaFutureImpl.get(CordaFutureImpl.kt) at com.example.NodeDriver.lambda$main$0(NodeDriver.java:44) at net.corda.testing.node.internal.DriverDSLImplKt.genericDriver(DriverDSLImpl.kt:958) at net.corda.testing.driver.Driver.driver(Driver.kt:186) at com.example.NodeDriver.main(NodeDriver.java:32) Caused by: net.corda.testing.node.internal.ListenProcessDeathException: The process that was expected to listen on localhost:10000 has died with status: 1 at net.corda.testing.node.internal.InternalTestUtilsKt$addressMustBeBoundFuture$1.invoke(InternalTestUtils.kt:39) at net.corda.testing.node.internal.InternalTestUtilsKt$addressMustBeBoundFuture$1.invoke(InternalTestUtils.kt) at net.corda.testing.node.internal.InternalTestUtilsKt$poll$task$1.run(InternalTestUtils.kt:86) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

进程退出代码为0.

推荐答案

我遇到了这个问题.只需安装最新版本的Java 8(java 8u181).这个问题一定会解决的. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html .Corda仅适用于最新版本的JVM.如果IntelliJ IDEA 2018.1.6社区版本

I faced this issue. Just install the latest version of java 8 (java 8u181). This issue will definitely get resolved with this. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. Corda works only on latest version of JVM. Use latest version if IntelliJ IDEA 2018.1.6 community version

这篇关于net.corda.testing.node.internal.ListenProcessDeathException:预期在localhost:10000上侦听的进程已死亡,状态为:1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆