gpt4 book ai didi

java - 运行 Lagom hello-world 示例时出错

转载 作者:太空宇宙 更新时间:2023-11-04 11:15:35 27 4
gpt4 key购买 nike

尝试运行 Lagom Hello World 示例时,出现以下错误:

    > runAll
[info] Starting Kafka
[info] Starting Cassandra
.SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
.......
[info] Cassandra server running at 127.0.0.1:4000
[info] Service locator is running at http://localhost:8000
[info] Service gateway is running at http://localhost:9000
SLF4J: io.netty.buffer.PoolThreadCache
SLF4J: The following set of substitute loggers may have been accessed
SLF4J: during the initialization phase. Logging calls during this
SLF4J: phase were not honored. However, subsequent logging calls to these
SLF4J: loggers will work as normally expected.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
SLF4J: io.netty.buffer.PoolThreadCache
[error] c.l.l.i.s.r.ServiceRegistration - Service name=[hello-stream}] couldn't register itself to the service locator.
org.asynchttpclient.exception.RemotelyClosedException: Remotely closed
[warn] c.l.l.i.p.c.ServiceLocatorSessionProvider - Could not find Cassandra contact points, due to: Remotely closed
[warn] c.l.l.i.s.r.ServiceRegistryServiceLocator - The service locator replied with an error when looking up the service name=[cas_native] address
org.asynchttpclient.exception.RemotelyClosedException: Remotely closed
[error] c.l.l.i.s.r.ServiceRegistration - Service name=[hello}] couldn't register itself to the service locator.
org.asynchttpclient.exception.RemotelyClosedException: Remotely closed
[info] Service hello-impl listening for HTTP on 0:0:0:0:0:0:0:0:57797
[info] Service hello-stream-impl listening for HTTP on 0:0:0:0:0:0:0:0:58322
[info] (Services started, press enter to stop and go back to the console...)

有人知道为什么吗?

最佳答案

我也遇到了同样的问题。这是因为系统中有两个sbt实例(第一个是IDE安装的)。我已经删除了另一个,现在它可以工作了

关于java - 运行 Lagom hello-world 示例时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45489603/

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