Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

  2. ,
    Expert tip

    This might be an issue with the file location in the Spark submit command. Try it with

    spark-submit --master spark://master:7077 \
         hello_world_from_pyspark.py {file location}
    
    

Solutions on the web

java.lang.ClassNotFoundException: org.spark_project.protobuf.GeneratedMessage	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 java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Unknown Source)	at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(ReflectiveDynamicAccess.scala:21)	at akka.actor.ReflectiveDynamicAccess$$anonfun$getClassFor$1.apply(ReflectiveDynamicAccess.scala:20)	at scala.util.Try$.apply(Try.scala:191)	at akka.actor.ReflectiveDynamicAccess.getClassFor(ReflectiveDynamicAccess.scala:20)	at akka.serialization.Serialization$$anonfun$6.apply(Serialization.scala:265)	at akka.serialization.Serialization$$anonfun$6.apply(Serialization.scala:264)	at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:728)	at scala.collection.immutable.HashMap$HashMap1.foreach(HashMap.scala:221)	at scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:428)	at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:727)	at akka.serialization.Serialization.(Serialization.scala:264)	at akka.serialization.SerializationExtension$.createExtension(SerializationExtension.scala:15)	at akka.serialization.SerializationExtension$.createExtension(SerializationExtension.scala:12)	at akka.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:745)	at akka.actor.ExtensionId$class.apply(Extension.scala:79)	at akka.serialization.SerializationExtension$.apply(SerializationExtension.scala:12)	at akka.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:175)	at akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:656)	at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:653)	at akka.actor.ActorSystemImpl._start(ActorSystem.scala:653)	at akka.actor.ActorSystemImpl.start(ActorSystem.scala:669)	at akka.actor.ActorSystem$.apply(ActorSystem.scala:142)	at akka.actor.ActorSystem$.apply(ActorSystem.scala:119)	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$$anonfun$startServiceOnPort$1.apply$mcVI$sp(Utils.scala:1832)	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160)	at org.apache.spark.util.Utils$.startServiceOnPort(Utils.scala:1823)	at org.apache.spark.util.AkkaUtils$.createActorSystem(AkkaUtils.scala:57)	at org.apache.spark.SparkEnv$.create(SparkEnv.scala:223)	at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:163)	at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:267)	at org.apache.spark.SparkContext.(SparkContext.scala:270)	at org.test.scala.test1.main(test1.java:13)