title: persistent store with apache ignite xml configuration
body: <p>I want to use apache ignite as a cache for my database and I use <a href="http://apacheignite.gridgain.org/docs/persistent-store" rel="nofollow noreferrer">persitent store</a> for this.
  My database is Cassandra and for configuration I use this <a href="https://github.com/irudyak/ignite/wiki/Examples" rel="nofollow noreferrer">wiki</a>.</p>
  
  <p>With this initialization I run ignite in windows:</p>
  
  <blockquote>
    <p>ignite.bat cassandra-ignite-config.xml</p>
  </blockquote>
  
  <p>cassandra-ignite-config.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="
          http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
  
      &lt;!-- Cassandra connection settings --&gt;
      &lt;import resource="connection-settings.xml" /&gt;
  
      &lt;!-- Persistence settings for 'cache1' --&gt;
      &lt;bean id="cache1_persistence_settings" class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings"&gt;
          &lt;constructor-arg type="org.springframework.core.io.Resource" value="persistence-settings-1.xml" /&gt;
      &lt;/bean&gt;
  
      &lt;!-- Persistence settings for 'cache2' --&gt;
      &lt;bean id="cache2_persistence_settings" class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings"&gt;
          &lt;constructor-arg type="org.springframework.core.io.Resource" value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-3.xml" /&gt;
      &lt;/bean&gt;
  
      &lt;!-- Ignite configuration --&gt;
      &lt;bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"&gt;
          &lt;property name="cacheConfiguration"&gt;
              &lt;list&gt;
                  &lt;!-- Configuring persistence for "cache1" cache --&gt;
                  &lt;bean class="org.apache.ignite.configuration.CacheConfiguration"&gt;
                      &lt;property name="name" value="cache1"/&gt;
                      &lt;property name="readThrough" value="true"/&gt;
                      &lt;property name="writeThrough" value="true"/&gt;
                      &lt;property name="cacheStoreFactory"&gt;
                          &lt;bean class="org.apache.ignite.cache.store.cassandra.CassandraCacheStoreFactory"&gt;
                              &lt;property name="dataSourceBean" value="cassandraAdminDataSource"/&gt;
                              &lt;property name="persistenceSettingsBean" value="cache1_persistence_settings"/&gt;
                          &lt;/bean&gt;
                      &lt;/property&gt;
                  &lt;/bean&gt;
  
                  &lt;!-- Configuring persistence for "cache2" cache --&gt;
                  &lt;bean class="org.apache.ignite.configuration.CacheConfiguration"&gt;
                      &lt;property name="name" value="cache2"/&gt;
                      &lt;property name="readThrough" value="true"/&gt;
                      &lt;property name="writeThrough" value="true"/&gt;
                      &lt;property name="cacheStoreFactory"&gt;
                          &lt;bean class="org.apache.ignite.cache.store.cassandra.CassandraCacheStoreFactory"&gt;
                              &lt;property name="dataSourceBean" value="cassandraAdminDataSource"/&gt;
                              &lt;property name="persistenceSettingsBean" value="cache2_persistence_settings"/&gt;
                          &lt;/bean&gt;
                      &lt;/property&gt;
                  &lt;/bean&gt;
              &lt;/list&gt;
          &lt;/property&gt;
  
          &lt;!-- Explicitly configure TCP discovery SPI to provide list of initial nodes. --&gt;
          &lt;property name="discoverySpi"&gt;
              &lt;bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"&gt;
                  &lt;property name="ipFinder"&gt;
                      &lt;!--
                          Ignite provides several options for automatic discovery that can be used
                          instead os static IP based discovery. For information on all options refer
                          to our documentation: http://apacheignite.readme.io/docs/cluster-config
                      --&gt;
                      &lt;!-- Uncomment static IP finder to enable static-based discovery of initial nodes. --&gt;
                      &lt;!--&lt;bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder"&gt;--&gt;
                      &lt;bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder"&gt;
                          &lt;property name="addresses"&gt;
                              &lt;list&gt;
                                  &lt;!-- In distributed environment, replace with actual host IP address. --&gt;
                                  &lt;value&gt;127.0.0.1:47500..47509&lt;/value&gt;
                              &lt;/list&gt;
                          &lt;/property&gt;
                      &lt;/bean&gt;
                  &lt;/property&gt;
              &lt;/bean&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>connection-setting.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="
          http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
  
      &lt;bean id="cassandraAdminCredentials" class="org.apache.ignite.tests.utils.CassandraAdminCredentials"/&gt;
  
      &lt;bean id="loadBalancingPolicy" class="com.datastax.driver.core.policies.RoundRobinPolicy"/&gt;
  
      &lt;bean id="contactPoints" class="org.apache.ignite.tests.utils.CassandraHelper" factory-method="getContactPointsArray"/&gt;
  
      &lt;bean id="cassandraAdminDataSource" class="org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource"&gt;
          &lt;property name="credentials" ref="cassandraAdminCredentials"/&gt;
          &lt;property name="contactPoints" ref="contactPoints"/&gt;
          &lt;property name="readConsistency" value="ONE"/&gt;
          &lt;property name="writeConsistency" value="ONE"/&gt;
          &lt;property name="loadBalancingPolicy" ref="loadBalancingPolicy"/&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>persistence-setting-1.xml:</p>
  
  <pre><code>&lt;persistence keyspace="test1" table="my_table"&gt;
      &lt;keyPersistence class="java.lang.Integer" strategy="PRIMITIVE" column="my_key"/&gt;
      &lt;valuePersistence class="java.lang.String" strategy="PRIMITIVE" /&gt;
  &lt;/persistence&gt;
  </code></pre>
  
  <p>but I have this error:</p>
  
  <blockquote>
    <p>class org.apache.ignite.IgniteException: Failed to instantiate Spring
    XML application context (make sure all classes used in Spring
    configuration are present at CLASSPATH)
    [springUrl=file:~/config/cassandra-ignite-config.xml]
            at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:927)
            at org.apache.ignite.Ignition.start(Ignition.java:350)
            at org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
    Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
    instantiate Spring XML application context (make sure all classes used
    in Spring configuration are present at CLASSPATH)
    [springUrl=file:~/config/cassandra-ignite-config.xml]
            at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:387)
            at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
            at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
            at org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:638)
            at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:839)
            at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:748)
            at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:618)
            at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:588)
            at org.apache.ignite.Ignition.start(Ignition.java:347)
            ... 1 more Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot
    find class [org.apache.ignite.tests.utils.CassandraAdminCredentials]
    for bean with name 'cassandraAdminCredentials' defined in URL
    [file:~/config/connection-settings.xml]; nested exception is
    java.lang.ClassNotFoundException: org.apache.ignite.tests.utils.Cassan
    draAdminCredentials
            at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1325)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:623)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:592)
            at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1394)
            at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:957)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:705)
            at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
            at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:381)
            ... 9 more Caused by: java.lang.ClassNotFoundException: org.apache.ignite.tests.utils.CassandraAdminCredentials
            at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
            at org.springframework.util.ClassUtils.forName(ClassUtils.java:246)
            at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:395)
            at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1346)
            at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1317)
            ... 17 more Failed to start grid: Failed to instantiate Spring XML application context (make sure all classes used in Spring
    configuration are present at CLASSPATH)
    [springUrl=~/config/cassandra-ignite-config.xml] 
    Note! You may use 'USER_LIBS' environment variable to specify your classpath. Press any key to continue . . .</p>
  </blockquote>
  
  <p>it seems there is something missed but I don't understand it.</p>
  
  <p><strong>Update:</strong></p>
  
  <p>I use <a href="https://apacheignite-mix.readme.io/docs/base-concepts" rel="nofollow noreferrer">base-concepts</a> and example number 4 of the <a href="https://apacheignite-mix.readme.io/docs/examples" rel="nofollow noreferrer">examples</a>.
  but know I have the serialization problem for pojo example.</p>
  
  <p>error:</p>
  
  <pre><code>[16:24:11,033][SEVERE][tcp-disco-msg-worker-#2%null%][TcpDiscoverySpi] Failed to unmarshal discovery data for component: 1
  class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader@5e9f23b4
      at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:128)
      at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:94)
      at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:142)
      at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:82)
      at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:9779)
      at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.onExchange(TcpDiscoverySpi.java:1716)
      at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processNodeAddedMessage(ServerImpl.java:4216)
      at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2538)
      at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2362)
      at org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorkerAdapter.body(ServerImpl.java:6436)
      at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.body(ServerImpl.java:2445)
      at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
  Caused by: java.io.InvalidClassException: org.apache.ignite.cache.store.cassandra.persistence.KeyValuePersistenceSettings; local class incompatible: stream classdesc serialVersionUID = -3543390829981374356, local class serialVersionUID = 4263059111698998196
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:616)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1630)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1781)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
      at java.util.ArrayList.readObject(ArrayList.java:791)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1909)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
      at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
      at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal0(JdkMarshaller.java:120)
      ... 11 more
  </code></pre>
  
  <p><strong>Update 2:</strong></p>
  
  <p>my pom file:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
          &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
          &lt;groupId&gt;aryahamrah.ds&lt;/groupId&gt;
          &lt;artifactId&gt;igniteHello&lt;/artifactId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
          &lt;build&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                      &lt;configuration&gt;
                          &lt;source&gt;1.8&lt;/source&gt;
                          &lt;target&gt;1.8&lt;/target&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/build&gt;
  
  
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.ignite&lt;/groupId&gt;
                  &lt;artifactId&gt;ignite-core&lt;/artifactId&gt;
                  &lt;version&gt;1.8.0&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.ignite&lt;/groupId&gt;
                  &lt;artifactId&gt;ignite-spring&lt;/artifactId&gt;
                  &lt;version&gt;1.8.0&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.ignite&lt;/groupId&gt;
                  &lt;artifactId&gt;ignite-indexing&lt;/artifactId&gt;
                  &lt;version&gt;1.8.0&lt;/version&gt;
              &lt;/dependency&gt;
  
  
  
  
              &lt;!--for cassandra --&gt;
  
              &lt;!-- https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.cassandra&lt;/groupId&gt;
                  &lt;artifactId&gt;cassandra-all&lt;/artifactId&gt;
                  &lt;version&gt;3.9&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;!--&amp;lt;!&amp;ndash; https://mvnrepository.com/artifact/com.datastax.cassandra/cassandra-driver-core &amp;ndash;&amp;gt;--&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.datastax.cassandra&lt;/groupId&gt;
                  &lt;artifactId&gt;cassandra-driver-core&lt;/artifactId&gt;
                  &lt;version&gt;3.1.2&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;!-- https://mvnrepository.com/artifact/com.google.collections/google-collections --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.collections&lt;/groupId&gt;
                  &lt;artifactId&gt;google-collections&lt;/artifactId&gt;
                  &lt;version&gt;1.0&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;!--&amp;lt;!&amp;ndash; https://mvnrepository.com/artifact/org.apache.ignite/ignite-cassandra-store &amp;ndash;&amp;gt;--&gt;
              &lt;!--&lt;dependency&gt;--&gt;
                  &lt;!--&lt;groupId&gt;org.apache.ignite&lt;/groupId&gt;--&gt;
                  &lt;!--&lt;artifactId&gt;ignite-cassandra-store&lt;/artifactId&gt;--&gt;
                  &lt;!--&lt;version&gt;1.8.0&lt;/version&gt;--&gt;
              &lt;!--&lt;/dependency&gt;--&gt;
  
              &lt;!-- https://mvnrepository.com/artifact/org.apache.ignite/ignite-cassandra --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.ignite&lt;/groupId&gt;
                  &lt;artifactId&gt;ignite-cassandra&lt;/artifactId&gt;
                  &lt;version&gt;1.7.0&lt;/version&gt;
              &lt;/dependency&gt;
  
  
              &lt;!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                  &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
                  &lt;version&gt;1.7.22&lt;/version&gt;
              &lt;/dependency&gt;
  
              &lt;!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                  &lt;artifactId&gt;slf4j-simple&lt;/artifactId&gt;
                  &lt;version&gt;1.7.22&lt;/version&gt;
              &lt;/dependency&gt;
  
  
          &lt;/dependencies&gt;
      &lt;/project&gt;
  </code></pre>
  
  <p>connection-setting.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="
          http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
  
  
      &lt;bean id="loadBalancingPolicy" class="com.datastax.driver.core.policies.TokenAwarePolicy"&gt;
          &lt;constructor-arg type="com.datastax.driver.core.policies.LoadBalancingPolicy"&gt;
              &lt;bean class="com.datastax.driver.core.policies.RoundRobinPolicy"/&gt;
          &lt;/constructor-arg&gt;
      &lt;/bean&gt;
  
      &lt;bean id="cassandraAdminDataSource" class="org.apache.ignite.cache.store.cassandra.datasource.DataSource"&gt;
          &lt;property name="readConsistency" value="ONE"/&gt;
          &lt;property name="writeConsistency" value="ONE"/&gt;
          &lt;property name="loadBalancingPolicy" ref="loadBalancingPolicy"/&gt;
      &lt;/bean&gt;
  
      &lt;bean id="cassandraRegularDataSource" class="org.apache.ignite.cache.store.cassandra.datasource.DataSource"&gt;
          &lt;property name="readConsistency" value="ONE"/&gt;
          &lt;property name="writeConsistency" value="ONE"/&gt;
          &lt;property name="loadBalancingPolicy" ref="loadBalancingPolicy"/&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p><strong>Update 3:</strong></p>
  
  <p>when I put to the cache nothing happens but when I want to get,  I have these errors:</p>
  
  <pre><code>[15:16:16,008][SEVERE][pub-#53%null%][GridTaskWorker] Failed to obtain remote job result policy for result from ComputeTask.result(..) method (will fail the whole task): GridJobResultImpl [job=C4V2 [r=HelloWorld$$Lambda$8/98974893@5977d9a0], sib=GridJobSiblingImpl [sesId=c92fc496951-0257bdb2-3066-4861-8c60-47febea167d5, jobId=d92fc496951-0257bdb2-3066-4861-8c60-47febea167d5, nodeId=f2c7d14b-401f-4aea-a9af-50deeb7cb85e, isJobDone=false], jobCtx=GridJobContextImpl [jobId=d92fc496951-0257bdb2-3066-4861-8c60-47febea167d5, timeoutObj=null, attrs={}], node=TcpDiscoveryNode [id=f2c7d14b-401f-4aea-a9af-50deeb7cb85e, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 192.168.1.113], sockAddrs=[LT-88273/169.254.247.78:47500, /0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, /192.168.1.113:47500], discPort=47500, order=1, intOrder=1, lastExchangeTime=1483530374957, loc=false, ver=1.8.0#20161205-sha1:9ca40dbe, isClient=false], ex=class o.a.i.IgniteException: HelloWorld, hasRes=true, isCancelled=false, isOccupied=true]
  class org.apache.ignite.IgniteException: Remote job threw user exception (override or implement ComputeTask.result(..) method if you would like to have automatic failover for this exception).
      at org.apache.ignite.compute.ComputeTaskAdapter.result(ComputeTaskAdapter.java:101)
      at org.apache.ignite.internal.processors.task.GridTaskWorker$5.apply(GridTaskWorker.java:1030)
      at org.apache.ignite.internal.processors.task.GridTaskWorker$5.apply(GridTaskWorker.java:1023)
      at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6596)
      at org.apache.ignite.internal.processors.task.GridTaskWorker.result(GridTaskWorker.java:1023)
      at org.apache.ignite.internal.processors.task.GridTaskWorker.onResponse(GridTaskWorker.java:841)
      at org.apache.ignite.internal.processors.task.GridTaskProcessor.processJobExecuteResponse(GridTaskProcessor.java:996)
      at org.apache.ignite.internal.processors.job.GridJobWorker.finishJob(GridJobWorker.java:843)
      at org.apache.ignite.internal.processors.job.GridJobWorker.finishJob(GridJobWorker.java:745)
      at org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:608)
      at org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:479)
      at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: class org.apache.ignite.IgniteException: HelloWorld
      at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:447)
      at org.apache.ignite.internal.processors.job.GridJobProcessor.processJobExecuteRequest(GridJobProcessor.java:1108)
      at org.apache.ignite.internal.processors.job.GridJobProcessor$JobExecutionListener.onMessage(GridJobProcessor.java:1894)
      at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1082)
      at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:710)
      at org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:102)
      at org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:673)
      ... 3 more
  Caused by: class org.apache.ignite.IgniteCheckedException: HelloWorld
      at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:9785)
      at org.apache.ignite.internal.processors.job.GridJobWorker.initialize(GridJobWorker.java:428)
      ... 9 more
  Caused by: class org.apache.ignite.binary.BinaryInvalidTypeException: HelloWorld
      at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:689)
      at org.apache.ignite.internal.binary.BinaryUtils.doReadClass(BinaryUtils.java:1480)
      at org.apache.ignite.internal.binary.BinaryUtils.doReadClass(BinaryUtils.java:1418)
      at org.apache.ignite.internal.binary.BinaryReaderExImpl.readClass(BinaryReaderExImpl.java:370)
      at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.readFixedType(BinaryFieldAccessor.java:828)
      at org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.read(BinaryFieldAccessor.java:639)
      at org.apache.ignite.internal.binary.BinaryClassDescriptor.read(BinaryClassDescriptor.java:829)
      at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0(BinaryReaderExImpl.java:1498)
      at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1450)
      at org.apache.ignite.internal.binary.BinaryUtils.doReadObject(BinaryUtils.java:1634)
      at org.apache.ignite.internal.binary.BinaryReaderExImpl.readObject(BinaryReaderExImpl.java:1124)
      at org.apache.ignite.internal.processors.closure.GridClosureProcessor$C4V2.readBinary(GridClosureProcessor.java:2230)
      at org.apache.ignite.internal.binary.BinaryClassDescriptor.read(BinaryClassDescriptor.java:819)
      at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize0(BinaryReaderExImpl.java:1498)
      at org.apache.ignite.internal.binary.BinaryReaderExImpl.deserialize(BinaryReaderExImpl.java:1450)
      at org.apache.ignite.internal.binary.GridBinaryMarshaller.deserialize(GridBinaryMarshaller.java:298)
      at org.apache.ignite.internal.binary.BinaryMarshaller.unmarshal0(BinaryMarshaller.java:100)
      at org.apache.ignite.marshaller.AbstractNodeNameAwareMarshaller.unmarshal(AbstractNodeNameAwareMarshaller.java:82)
      at org.apache.ignite.internal.util.IgniteUtils.unmarshal(IgniteUtils.java:9779)
      ... 10 more
  Caused by: java.lang.ClassNotFoundException: HelloWorld
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      at org.apache.ignite.internal.util.IgniteUtils.forName(IgniteUtils.java:8393)
      at org.apache.ignite.internal.MarshallerContextAdapter.getClass(MarshallerContextAdapter.java:185)
      at org.apache.ignite.internal.binary.BinaryContext.descriptorForTypeId(BinaryContext.java:680)
      ... 28 more
  </code></pre>