GridGain Community Edition

Expand all | Collapse all

Getting Started Error

Jump to Best Answer
  • 1.  Getting Started Error

    Posted 07-03-2019 08:00 AM
    I am doing the steps of Getting started ( ). But I get this error: Exception Caused by: class org.apache.ignite.IgniteException: Failed to find class with given class loader for unmarshalling.

    Any help would be welcome. Thanks!

  • 2.  RE: Getting Started Error

    Posted 07-04-2019 07:31 AM
    Perhaps you need to move some library from libs/optional to libs. Can you paste the full stack trace here?

  • 3.  RE: Getting Started Error

    Posted 07-04-2019 07:50 AM
    Thanks, Mario. The problem arises when I have more than one node in the cluster and call: try (Ignite ignite = Ignition.start())

    if I call try (Ignite ignite = Ignition.start("examples/config/example-compute.xml")) it works!

  • 4.  RE: Getting Started Error
    Best Answer

    Posted 07-04-2019 07:57 AM
    The reason is that your classes are not deployed on remote nodes and peer-class-loading is disabled by default. You can either copy your application Jar files to the "libs" folder on every node, or turn on peer-class-loading.

    For more information about peer-class-loading, please refer to Zero Deployment.