Not sure, but try removing the provided or create a lib directory in the project home and bring that jar over there. On 20 Jun 2015 18:08, "Ritesh Kumar Singh" <riteshoneinamill...@gmail.com> wrote:
> Hi, > > I'm using IntelliJ ide for my spark project. > I've compiled spark 1.3.0 for scala 2.11.4 and here's the one of the > compiled jar installed in my m2 folder : > > > ~/.m2/repository/org/apache/spark/spark-core_2.11/1.3.0/spark-core_2.11-1.3.0.jar > > But when I add this dependency in my pom file for the project : > > <dependency> > <groupId>org.apache.spark</groupId> > <artifactId>spark-core_$(scala.version)</artifactId> > <version>${spark.version}</version> > <scope>provided</scope> > </dependency> > > I'm getting Dependency > "org.apache.spark:spark-core_$(scala.version):1.3.0" not found. > Why is this happening and what's the workaround ? >