Cannot connect to spark

One Star

Cannot connect to spark

Hi!
I'm using Talend BigData 5.6 and I can not connect to spark. I want to connect to hortonworks hdp 2.2 and
I get this exception:
"Exception in thread "main" java.lang.NoClassDefFoundError: org/spark-project/guava/util/concurrent/ThreadFactoryBuilder (wrong name: com/google/common/util/concurrent/ThreadFactoryBuilder)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.spark.util.Utils$.<init>(Utils.scala:858)
at org.apache.spark.util.Utils$.<clinit>(Utils.scala)
at org.apache.spark.SparkConf.<init>(SparkConf.scala:58)
Here is my job:
spark.zip_20150804-1212.zip
Can anyone help pls. 
One Star

Re: Cannot connect to spark

I fixed the problem, the guava library wasn't good. 
Now I have a new error:
"Exception in thread "main" java.lang.NoClassDefFoundError: akka/actor/ActorSystem$
at org.apache.spark.util.AkkaUtils$.org$apache$spark$util$AkkaUtils$$doCreateActorSystem(AkkaUtils.scala:122)
at org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:55)
at org.apache.spark.util.AkkaUtils$$anonfun$1.apply(AkkaUtils.scala:54)
at org.apache.spark.util.Utils$"
I can't solve this. Pls somebody help.