title: Caused by: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4BlockOutputStream
body: <p>Started my sample Scala Spark program using Scala Eclipse IDE. The program is a simple word Count where I have created a simple text file without compression. While running the code as Scala Application got the error</p>
  
  <p>"Caused by: java.lang.ClassNotFoundException: net.jpountz.lz4.LZ4BlockOutputStream" while executing sc.textFile("word.txt")</p>
  
  <p>My Code</p>
  
  <pre><code>import org.apache.spark.SparkConf
  import org.apache.spark.SparkContext
  import net.jpountz.lz4.LZ4BlockOutputStream
  
  object WordCount {
    def main (args: Array[String]) = {
      val conf = new SparkConf().setAppName("WordCount").setMaster("local")
      val sc = new SparkContext(conf)
  
      val test = sc.textFile("word.txt")
      //test.flatMap{line =&gt; line.split(" ")}.saveAsTextFile("wordCount.txt")
  
      //.map{word =&gt; (word,1)}.reduceByKey(_ + _).saveAsTextFile("wordCount.txt")
    }
  }
  </code></pre>
  
  <p>Running on my local Windows machine. Is this an issue with my POM.xml?</p>