Quero usar o Apache Ignite 3 em um aplicativo Java.
meu código java é assim:
Path path = Path.of("/opt/ignite/ignite.conf");
Path workPath = Path.of("/tmp/ignite-repository");
IgniteServer igniteServer = IgniteServer.start("node1", path, workPath);
o arquivo cofig do ignite é
{
ignite: {
network: {
port: 3344,
nodeFinder: {
netClusterNodes: [
"node1:3344",
"node2:3344",
"node3:3344"
]
}
}
}
}
e lança o erro ExceptionInInitializerError
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)
como posso usar o modo incorporado do Apache Ignite 3?
obrigado.