Hello

I only use:

  <dependency>
    <groupId>org.apache.ignite</groupId>
    <artifactId>ignite-core</artifactId>
    <version>2.14.0</version>
  </dependency>

Which brings in what is required and actually does NOT bring in H2, because
it's not required any more.

I guess you should fix your pom.xml, which I have no information about, as
you didn't share.

Cheers
Gianluca

On Wed, 1 Mar 2023 at 13:22, Abhishek Ubhe <[email protected]>
wrote:

> Okay, Can you suggest any changes in maven dependencies?
>
> On Wed, Mar 1, 2023 at 2:07 PM Gianluca Bonetti <
> [email protected]> wrote:
>
>> Hello
>>
>> It's very strange that this method does not exist in the H2 library.
>> Can you please check you're not including the H2 library twice?
>> For what I know, Ignite works with h2-1.4.197.jar which is included in
>> the last bundle.
>> I think you are including a newer version instead, or aside.
>>
>> Cheers
>> Gianluca
>>
>> On Wed, 1 Mar 2023 at 06:43, Abhishek Ubhe <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>> I am unable to start ignite server node with default configurations.
>>> Getting below error
>>>
>>> Exception in thread "main" java.lang.NoSuchMethodError:
>>> org.apache.ignite.internal.processors.cache.persistence.tree.io.PageIO.registerH2(Lorg/apache/ignite/internal/processors/cache/persistence/tree/io/IOVersions;Lorg/apache/ignite/internal/processors/cache/persistence/tree/io/IOVersions;)V
>>>
>>> *stacktrace :* at
>>> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.<clinit>(IgniteH2Indexing.java:197)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:264)
>>> at
>>> org.apache.ignite.internal.util.IgniteUtils.inClassPath(IgniteUtils.java:1753)
>>> at
>>> org.apache.ignite.internal.IgniteComponentType.inClassPath(IgniteComponentType.java:172)
>>> at
>>> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1999)
>>> at
>>> org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1758)
>>> at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1143)
>>> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:663)
>>> at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
>>> at org.apache.ignite.Ignition.start(Ignition.java:328)
>>>
>>>
>>> Please help with this and let me know why this error is getting and how
>>> I can avoid it in future.
>>> My API :
>>> IgniteConfiguration cfg = new IgniteConfiguration();
>>> cfg.setClientMode(false);
>>>
>>> cfg.setWorkDirectory("/home/developers/apache_ignite_home/apache-ignite-2.14.0-bin/work");
>>>  Ignite ignite = Ignition.start(cfg);
>>>
>>> version using : 2.14.0
>>> --
>>> *Regards,*
>>> *Abhishek Ubhe*
>>>
>>>
>
> --
> *Regards,*
> *Abhishek Ubhe*
>
>

Reply via email to