Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BB8B5200B67 for ; Tue, 16 Aug 2016 19:42:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BA4FE160AA8; Tue, 16 Aug 2016 17:42:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0CB5A160A74 for ; Tue, 16 Aug 2016 19:42:44 +0200 (CEST) Received: (qmail 85747 invoked by uid 500); 16 Aug 2016 17:42:44 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 85737 invoked by uid 99); 16 Aug 2016 17:42:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2016 17:42:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CB6531A0393 for ; Tue, 16 Aug 2016 17:42:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.019 X-Spam-Level: ** X-Spam-Status: No, score=2.019 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_ALL=1.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.919] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id vWAdlcEiJZpK for ; Tue, 16 Aug 2016 17:42:41 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 932BF5FC39 for ; Tue, 16 Aug 2016 17:42:41 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mwork.nabble.com (Postfix) with ESMTP id 3C99039D9C1B2 for ; Tue, 16 Aug 2016 10:42:41 -0700 (MST) Date: Tue, 16 Aug 2016 10:42:41 -0700 (PDT) From: Ranjit To: user@ignite.apache.org Message-ID: <1471369361374-7107.post@n6.nabble.com> In-Reply-To: <1471311004421-7083.post@n6.nabble.com> References: <1471224958875-7053.post@n6.nabble.com> <1471284910094-7074.post@n6.nabble.com> <1471304520844-7081.post@n6.nabble.com> <1471311004421-7083.post@n6.nabble.com> Subject: Re: IncompatibleClassChange error in Java/Spark/Ignite program MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 16 Aug 2016 17:42:45 -0000 Hi Val, Really appreciate your responses. I did the following things but still see the error: 1. In IntelliJ, removed all dependent JARs 2. Deleted the ~/.m2/repository (local maven repo) 3. Reimported the POM.xml 4. Ran the program in debug, put breakpoints, inspected that the class definitions for Spark and Ignite are coming from 2.10 /Users/ranjiti/.m2/repository/org/apache/spark/spark-core_2.10/2.0.0/spark-core_2.10-2.0.0.jar!/org/apache/spark/SparkConf.class /Users/ranjiti/.m2/repository/org/apache/ignite/ignite-spark_2.10/1.7.0/ignite-spark_2.10-1.7.0.jar!/org/apache/ignite/spark/JavaIgniteContext.class I'm still seeing the same error :( 16/08/16 10:42:13 INFO BlockManagerMaster: Registered BlockManager BlockManagerId(driver, 10.44.9.134, 64386) Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/Logging at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IncompatibleClassChange-error-in-Java-Spark-Ignite-program-tp7053p7107.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.