ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranjit <ranj...@amazon.com>
Subject Re: IncompatibleClassChange error in Java/Spark/Ignite program
Date Mon, 15 Aug 2016 23:42:00 GMT
Hi Val,

I'm running into a NoClassDefFound error now.

            <artifactId>spark-core_2.10</artifactId>
            <version>2.0.0</version>

            <artifactId>ignite-core</artifactId>
            <version>1.7.0</version>

            <artifactId>ignite-spring</artifactId>
            <version>1.7.0</version>

            <artifactId>ignite-spark_2.10</artifactId>
            <version>1.7.0</version>


<code>
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)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	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.apache.ignite.spark.JavaIgniteContext.<init>(JavaIgniteContext.scala:42)
	at client.SparkIgniteClient.main(SparkIgniteClient.java:75)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: java.lang.ClassNotFoundException: org.apache.spark.Logging
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
</code>



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IncompatibleClassChange-error-in-Java-Spark-Ignite-program-tp7053p7081.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message