在芭蕾舞女演员作曲家中运行一个简单的例子失败,但有以下异常。
[2018-06-13 11:01:29,024] ERROR {org.ballerinalang.launcher.Main} - failed to connect to localhost:5010
java.lang.RuntimeException: failed to connect to localhost:5010
at org.ballerinalang.logging.BLogManager.setHttpTraceLogHandler(BLogManager.java:163)
at org.ballerinalang.logging.BLogManager.loadUserProvidedLogConfiguration(BLogManager.java:111)
at org.ballerinalang.launcher.LauncherUtils.loadConfigurations(LauncherUtils.java:313)
at org.ballerinalang.launcher.LauncherUtils.runProgram(LauncherUtils.java:79)
at org.ballerinalang.launcher.Main$RunCmd.execute(Main.java:256)
at java.util.Optional.ifPresent(Unknown Source)
at org.ballerinalang.launcher.Main.main(Main.java:66)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.util.logging.SocketHandler.connect(Unknown Source)
at java.util.logging.SocketHandler.<init>(Unknown Source)
at org.ballerinalang.logging.BLogManager.setHttpTraceLogHandler(BLogManager.java:157)
... 6 more
因为使用ballerina run hello-world.bal
从控制台手动启动可以正常运行。
从作曲家跑步时出现的问题是什么?
答案 0 :(得分:2)
这是芭蕾舞女演员作曲家的问题。报告here 。修复将在今天到期的下一个芭蕾舞女演员公开发布。或者您可以尝试最新的ballerina nightly build。