<p>We are trying to integrate GridGain into an existing client java based application to create a Thick GG client, for the purpose of in memory caching and to implement a near cache. We have a Kubernetes cluster onto which the main GridGain server is already deployed and is up and running, we have not setup for any persistence, this is purely in memory. When I deploy the Client App configured with GridGain I get the following message within the logs ~</p>
<pre><code>2022-11-30 09:32:08,846 [:/EXECUTING(38)=null] CRIT com.&lt;ourAppName&gt;.agent.StorageInstall - fail to install
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;Lorg/apache/ignite/internal/processors/cache/persistence/tree/io/IOVersions;Lorg/apache/ignite/internal/processors/cache/persistence/tree/io/IOVersions;)V
        at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.&lt;clinit&gt;(IgniteH2Indexing.java:264)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.apache.ignite.internal.IgniteComponentType.inClassPath(IgniteComponentType.java:153)
        at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1906)
        at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1716)
        at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1144)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:664)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:589)
        at org.apache.ignite.Ignition.start(Ignition.java:322)
        ...
        at com.&lt;ourAppName&gt;.framework.xhome.pipe.ThreadPool$PooledThread.run(ThreadPool.java:131)
</code></pre>
<p>These dependencies have been included in our gradle build for the client application ~</p>
<pre><code>    // Ignite
    def igniteVersion = '8.8.22'
    compile group: 'org.gridgain', name: 'ignite-core', version: igniteVersion
    compile group: 'org.gridgain', name: 'ignite-spring', version: igniteVersion
    compile group: 'org.gridgain', name: 'ignite-indexing', version: igniteVersion
    compile group: 'org.gridgain', name: 'ignite-h2', version: igniteVersion
    compile group: 'org.apache.ignite',name: 'ignite-kubernetes', version: '2.4.0'
</code></pre>
<p>I wasn't sure on the Kubernetes one, I think it is required to be passed to the TcpDiscoverySpi, one version of our code looked like this ~</p>
<pre><code>        IgniteConfiguration cfg = new IgniteConfiguration();
    cfg.setClientMode(true);


        CacheConfiguration&lt;Object, Object&gt; cacheCfg = new CacheConfiguration&lt;Object, Object&gt;();
        cacheCfg.setName(cacheName);
        // Create a near/underlying cache configuration
            NearCacheConfiguration&lt;Object, Object&gt; nearCfg = new NearCacheConfiguration&lt;&gt;();
                nearCfg.setNearEvictionPolicyFactory(new LruEvictionPolicyFactory&lt;&gt;(100_000));
        cacheCfg.setNearConfiguration(nearCfg);

        cfg.setCacheConfiguration(cacheCfg);

        //Setup Kubernetes discovery
        TcpDiscoverySpi spi = new TcpDiscoverySpi();
        TcpDiscoveryKubernetesIpFinder ipFinder = new TcpDiscoveryKubernetesIpFinder();
        ipFinder.setNamespace(&quot;gridgain&quot;);
        ipFinder.setServiceName(&quot;gridgain-service&quot;);
        spi.setIpFinder(ipFinder);

        //Set discovery in the IgniteConfiguration cfg
        cfg.setDiscoverySpi(spi);

    Ignite ignite = Ignition.start(cfg))
</code></pre>
<p>The client fails to start correctly throwing the H2 indexing error above on Ignition.start() and our main ignite server never registers the client as having connected. We have configured our main ignite server as follows and setup the other required components e.g. namespace, service-name, cluster name etc ~</p>
<pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
       xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
       xsi:schemaLocation=&quot;
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd&quot;&gt;

    &lt;bean class=&quot;org.apache.ignite.configuration.IgniteConfiguration&quot;&gt;

        &lt;property name=&quot;discoverySpi&quot;&gt;
            &lt;bean class=&quot;org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi&quot;&gt;
                &lt;property name=&quot;ipFinder&quot;&gt;
                    &lt;bean class=&quot;org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder&quot;&gt;
                        &lt;property name=&quot;namespace&quot; value=&quot;gridgain&quot;/&gt;
                        &lt;property name=&quot;serviceName&quot; value=&quot;gridgain-service&quot;/&gt;
                    &lt;/bean&gt;
                &lt;/property&gt;
            &lt;/bean&gt;
        &lt;/property&gt;
    &lt;/bean&gt;
&lt;/beans&gt;
</code></pre>
<p>I tried adding the Indexing dependencies as I thought this might be causing the issue and wrote the code a few different ways, but nothing seems to make a difference.</p>
<p>Let me know if you need me to provide any further info, at the time of writing we are using the latest version of GridGain 8.8.22 with the exception of the ignite-kubernetes  as mentioned above as I could not find that file online.</p>
<p>As we're not trying to persist data and and have not included DataStorageConfiguration anywhere I am unsure why we are seeing this issue, any thoughts? To me it seems like this error is related to persistence /data indexing, where is it getting it from though?</p>
<p>Thanks,
N</p>

LostShepherd
<p>We got this resolved by tidying up our dependencies, as we are working the the GridGain Community Edition 8.8.22 and really  only need the core dependencies we changed ours to ~</p>
<pre><code>def igniteVersion = '8.8.22'

// Ignite
compile group: 'org.gridgain', name: 'ignite-core', version: igniteVersion
compile group: 'org.gridgain', name: 'ignite-spring', version: igniteVersion
compile group: 'org.gridgain', name: 'ignite-indexing', version: igniteVersion
compile group: 'org.gridgain', name: 'ignite-h2', version: igniteVersion
compile group: 'org.gridgain', name: 'ignite-kubernetes', version: igniteVersion
</code></pre>
<p>We previously had the gridgain-ultimate dependency included as well, it may have been causing the conflict and really shouldn't have been in there as we are using the CE.</p>
<p>Thanks,
LS</p>
