Alessandro, I'm using Eclipse, IntelliJ settings will be similar. I created a standard project, without maven.
For me, the easiest way was to add this jar to my Eclipse project build path: <my spark dir>/assembly/target/scala-2.10/spark-assembly-x.x.x-hadoop1.0.4.jar It works for either Java or Scala plugin. That Jar is quite large (~100MB) and has everything in it. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/java-lang-NoSuchMethodError-on-Java-API-tp5545p5552.html Sent from the Apache Spark User List mailing list archive at Nabble.com.