1

在芭蕾舞演员作曲家中运行一个简单的示例失败,但出现以下异常。

[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确实没有问题。

从作曲家运行时这里有什么问题?

  • 环境:ballerina-0.970.1,Windows 10,Java 8
4

1 回答 1

2

这是芭蕾舞演员作曲家的问题。这是报告在这里 。修复将适用于今天到期的下一个芭蕾舞女演员公开发布。或者您可以尝试最新的芭蕾舞演员夜间版本

于 2018-06-14T05:56:17.473 回答