title: Why do Scala 2.11 and Spark with scallop lead to "java.lang.NoSuchMethodError: scala.reflect.api.JavaUniverse.runtimeMirror"?
body: <p>I am using Scala 2.11, Spark, and Scallop (<a href="https://github.com/scallop/scallop" rel="nofollow noreferrer">https://github.com/scallop/scallop</a>). I used sbt to build an application fat jar without Spark provided dependencies (this is at: <code>analysis/target/scala-2.11/dtex-analysis_2.11-0.1.jar)</code></p>
  
  <p>I am able to run the program fine in sbt.</p>
  
  <p>I tried to run it from the command line as follows:</p>
  
  <pre><code>time ADD_JARS=analysis/target/scala-2.11/dtex-analysis_2.11-0.1.jar java -cp /Applications/spark-1.2.0-bin-hadoop2.4/lib/spark-assembly-1.2.0-hadoop2.4.0.jar:analysis/target/scala-2.11/dtex-analysis_2.11-0.1.jar com.dtex.analysis.transform.GenUserSummaryView -d /Users/arun/DataSets/LME -p output -s txt -o /Users/arun/tmp/LME/LME
  </code></pre>
  
  <p>I get the following error message:</p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.NoSuchMethodError:
    scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaUniverse$JavaMirror;
      at org.rogach.scallop.package$.(package.scala:37)     at
    org.rogach.scallop.package$.(package.scala)   at
    com.dtex.analysis.transform.GenUserSummaryView$Conf.delayedEndpoint$com$dtex$analysis$transform$GenUserSummaryView$Conf$1(GenUserSummaryView.scala:27)
      at
    com.dtex.analysis.transform.GenUserSummaryView$Conf$delayedInit$body.apply(GenUserSummaryView.scala:26)
      at scala.Function0$class.apply$mcV$sp(Function0.scala:40)   at
    scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      at org.rogach.scallop.AfterInit$class.delayedInit(AfterInit.scala:12)
      at org.rogach.scallop.ScallopConf.delayedInit(ScallopConf.scala:26)
      at
    com.dtex.analysis.transform.GenUserSummaryView$Conf.(GenUserSummaryView.scala:26)
      at
    com.dtex.analysis.transform.GenUserSummaryView$.main(GenUserSummaryView.scala:54)
      at
    com.dtex.analysis.transform.GenUserSummaryView.main(GenUserSummaryView.scala)</p>
  </blockquote>