Okay, Can you suggest any changes in maven dependencies?

On Wed, Mar 1, 2023 at 2:07 PM Gianluca Bonetti <gianluca.bone...@gmail.com>
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 <abhishekubhe0...@gmail.com>
> 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