title: Spark: Exception in thread "main" java.lang.VerifyError: class com.fasterxml.jackson.module.scala.ser.ScalaIteratorSerializer
body: <p>I am trying to do a simple Spark parallelize on some data within a big project but even on the simplest example I am getting this error</p>
  
  <pre><code>Exception in thread "main" java.lang.VerifyError: class com.fasterxml.jackson.module.scala.ser.ScalaIteratorSerializer overrides final method withResolved.(Lcom/fasterxml/jackson/databind/BeanProperty;Lcom/fasterxml/jackson/databind/jsontype/TypeSerializer;Lcom/fasterxml/jackson/databind/JsonSerializer;)Lcom/fasterxml/jackson/databind/ser/std/AsArraySerializerBase;
  </code></pre>
  
  <p>The error comes up with any simple parallelize, even this simple one. I don't have any idea where this error even came from</p>
  
  <pre><code>    val conf: SparkConf = new SparkConf().setAppName("IEEG Spark").setMaster("local")
      val sc: SparkContext = new SparkContext(conf)
      val data = Array(1, 2, 3, 4, 5)
      val distVals = sc.parallelize(data)
      distVals.foreach(println)
  </code></pre>
  
  <p>and the following is my maven pom.xml file</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  
      &lt;groupId&gt;astiefel&lt;/groupId&gt;
      &lt;artifactId&gt;ieeg-spark&lt;/artifactId&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;name&gt;Spark IEEG&lt;/name&gt;
      &lt;parent&gt;
          &lt;groupId&gt;edu.upenn.cis.ieeg&lt;/groupId&gt;
          &lt;artifactId&gt;ieeg&lt;/artifactId&gt;
          &lt;version&gt;1.15-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
      &lt;properties&gt;
          &lt;scala.version&gt;2.10.4&lt;/scala.version&gt;
      &lt;/properties&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;edu.upenn.cis.ieeg&lt;/groupId&gt;
              &lt;artifactId&gt;ieeg-client&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.spark&lt;/groupId&gt;
              &lt;artifactId&gt;spark-core_2.10&lt;/artifactId&gt;
              &lt;version&gt;1.5.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.scala-lang&lt;/groupId&gt;
              &lt;artifactId&gt;scala-compiler&lt;/artifactId&gt;
              &lt;version&gt;${scala.version}&lt;/version&gt;
              &lt;scope&gt;compile&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.scalanlp&lt;/groupId&gt;
              &lt;artifactId&gt;breeze_2.10&lt;/artifactId&gt;
              &lt;version&gt;0.10&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;sourceDirectory&gt;src/main/scala&lt;/sourceDirectory&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.scala-tools&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-scala-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;compile&lt;/goal&gt;
                              &lt;goal&gt;testCompile&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;scalaVersion&gt;${scala.version}&lt;/scalaVersion&gt;
                      &lt;args&gt;
                          &lt;arg&gt;-target:jvm-1.5&lt;/arg&gt;
                      &lt;/args&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;downloadSources&gt;true&lt;/downloadSources&gt;
                      &lt;buildcommands&gt;
                          &lt;buildcommand&gt;ch.epfl.lamp.sdt.core.scalabuilder&lt;/buildcommand&gt;
                      &lt;/buildcommands&gt;
                      &lt;additionalProjectnatures&gt;
                          &lt;projectnature&gt;ch.epfl.lamp.sdt.core.scalanature&lt;/projectnature&gt;
                      &lt;/additionalProjectnatures&gt;
                      &lt;classpathContainers&gt;
                          &lt;classpathContainer&gt;org.eclipse.jdt.launching.JRE_CONTAINER&lt;/classpathContainer&gt;
                          &lt;classpathContainer&gt;ch.epfl.lamp.sdt.launching.SCALA_CONTAINER&lt;/classpathContainer&gt;
                      &lt;/classpathContainers&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
      &lt;reporting&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.scala-tools&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-scala-plugin&lt;/artifactId&gt;
                  &lt;configuration&gt;
                      &lt;scalaVersion&gt;${scala.version}&lt;/scalaVersion&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/reporting&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I'm so lost with this error, any tips as to where to even begin?</p>