Hi,Try this.Change spark-mllib to spark-mllib_2.10
libraryDependencies ++=Seq( "org.apache.spark" % "spark-core_2.10" % "1.1.1"
"org.apache.spark" % "spark-mllib_2.10" % "1.1.1" )
Thanks & Regards,
Meethu M
On Friday, 12 December 2014 12:22 PM, amin mohebbi
<[email protected]> wrote:
I'm trying to build a very simple scala standalone app using the Mllib, but I
get the following error when trying to bulid the program:Object Mllib is not a
member of package org.apache.sparkThen, I realized that I have to add Mllib as
dependency as follow :libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "1.1.0",
"org.apache.spark" %% "spark-mllib" % "1.1.0"
)But, here I got an error that says :unresolved dependency
spark-core_2.10.4;1.1.1 : not foundso I had to modify it to"org.apache.spark" %
"spark-core_2.10" % "1.1.1",But there is still an error that says :unresolved
dependency spark-mllib;1.1.1 : not foundAnyone knows how to add dependency of
Mllib in .sbt file?
Best Regards
.......................................................
Amin Mohebbi
PhD candidate in Software Engineering
at university of Malaysia
Tel : +60 18 2040 017
E-Mail : [email protected]
[email protected]