java.lang.ExceptionInInitializerError
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at org.apache.ignite.internal.util.ExceptionUtils$10.copy(ExceptionUtils.java:967)
at org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:789)
at org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:591)
at org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCauseInternal(ExceptionUtils.java:724)
at org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:569)
at org.apache.ignite.internal.app.IgniteServerImpl.tryToCopyExceptionWithCause(IgniteServerImpl.java:465)
at org.apache.ignite.internal.app.IgniteServerImpl.sync(IgniteServerImpl.java:457)
at org.apache.ignite.internal.app.IgniteServerImpl.start(IgniteServerImpl.java:418)
at org.apache.ignite.IgniteServer.start(IgniteServer.java:77)
как использовать встроенный режим Apache Ignite 3?
спасибо.
Я хочу использовать Apache Ignite 3 в Java-приложении. Мой Java-код выглядит следующим образом: [code] Path path = Path.of("/opt/ignite/ignite.conf"); Path workPath = Path.of("/tmp/ignite-repository"); IgniteServer igniteServer = IgniteServer.start("node1", path, workPath); [/code] файл конфигурации Ignite [code]{ ignite: { network: { port: 3344, nodeFinder: { netClusterNodes: [ "node1:3344", "node2:3344", "node3:3344" ] } } } } [/code] и выдает ошибку ExceptionInInitializerError [code]java.lang.ExceptionInInitializerError at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732) at org.apache.ignite.internal.util.ExceptionUtils$10.copy(ExceptionUtils.java:967) at org.apache.ignite.internal.util.ExceptionUtils$ExceptionFactory.createCopy(ExceptionUtils.java:789) at org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:591) at org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCauseInternal(ExceptionUtils.java:724) at org.apache.ignite.internal.util.ExceptionUtils.copyExceptionWithCause(ExceptionUtils.java:569) at org.apache.ignite.internal.app.IgniteServerImpl.tryToCopyExceptionWithCause(IgniteServerImpl.java:465) at org.apache.ignite.internal.app.IgniteServerImpl.sync(IgniteServerImpl.java:457) at org.apache.ignite.internal.app.IgniteServerImpl.start(IgniteServerImpl.java:418) at org.apache.ignite.IgniteServer.start(IgniteServer.java:77) [/code] как использовать встроенный режим Apache Ignite 3? спасибо.