Мой Java-код выглядит следующим образом:
Код: Выделить всё
Path path = Path.of("/opt/ignite/ignite.conf");
Path workPath = Path.of("/tmp/ignite-repository");
IgniteServer igniteServer = IgniteServer.start("node1", path, workPath);
Код: Выделить всё
{
ignite: {
network: {
port: 3344,
nodeFinder: {
netClusterNodes: [
"node1:3344",
"node2:3344",
"node3:3344"
]
}
}
}
}
Код: Выделить всё
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)
спасибо.
Подробнее здесь: https://stackoverflow.com/questions/795 ... edded-mode