Java Vertx不';作为docker映像运行时,在类路径上找不到ClusterManagerFactory
我已将vertx hazelcast群集管理器作为依赖项添加:Java Vertx不';作为docker映像运行时,在类路径上找不到ClusterManagerFactory,java,docker,hazelcast,vert.x,quarkus,Java,Docker,Hazelcast,Vert.x,Quarkus,我已将vertx hazelcast群集管理器作为依赖项添加: <dependency> <groupId>io.vertx</groupId> <artifactId>vertx-hazelcast</artifactId> </dependency> 本机应用程序构建为uberjar,因此应包含所有依赖项 是否需要进一步的配置 2020-10-28 07:04:37,5
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-hazelcast</artifactId>
</dependency>
本机应用程序构建为uberjar,因此应包含所有依赖项
是否需要进一步的配置
2020-10-28 07:04:37,537 ERROR [io.qua.run.Application] (main) Failed to start application (with profile prod): java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:543)
at io.quarkus.runtime.Application.start(Application.java:90)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:93)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:62)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:38)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:104)
at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
Caused by: java.lang.IllegalStateException: No ClusterManagerFactory instances found on classpath
at io.vertx.core.impl.VertxImpl.getClusterManager(VertxImpl.java:485)
at io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:172)
at io.vertx.core.impl.VertxImpl.clusteredVertx(VertxImpl.java:98)
at io.vertx.core.impl.VertxFactoryImpl.clusteredVertx(VertxFactoryImpl.java:52)
at io.vertx.core.impl.VertxFactoryImpl.clusteredVertx(VertxFactoryImpl.java:45)
at io.vertx.core.Vertx.clusteredVertx(Vertx.java:97)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder.initialize(VertxCoreRecorder.java:187)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$VertxSupplier.get(VertxCoreRecorder.java:390)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$VertxSupplier.get(VertxCoreRecorder.java:377)
at io.quarkus.vertx.runtime.VertxRecorder.configureVertx(VertxRecorder.java:37)
at io.quarkus.deployment.steps.VertxProcessor$build-626852132.deploy_0(VertxProcessor$build-626852132.zig:134)
at io.quarkus.deployment.steps.VertxProcessor$build-626852132.deploy(VertxProcessor$build-626852132.zig:40)
at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:455)
... 6 more