Issue - UNRESOVED DEPENDENCIES

apache-spark

#1

UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.apache.spark#spark-code_2.10;1.6.2: not found

I’m running this on lab:
build.sbt:

name := "retail"
version := "1.0"
scalaVersion := “2.10.5”

libraryDependencies += “org.apache.spark” % “spark-code_2.10” % “1.6.2”

when I run sbt console, it give me the above error.
I checked the scala versions before I update build.sbt

Welcome to
____ __
/ / ___ / /
\ / _ / _ `/ __/ '/
/
/ .__/_,// //_\ version 1.6.2
/
/

Using Scala version 2.10.5 (Java HotSpot™ 64-Bit Server VM, Java 1.8.0_77)
Please help me to resolve this. Thanks
Venkat


#2

Try running:

sbt reload plugins
sbt update
sbt reload

If that doesn’t work, follow instructions on http://www.scala-sbt.org/0.13/docs/Dependency-Management-Flow.html