spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jianguo Li <flyingfromch...@gmail.com>
Subject including the spark-mllib in build.sbt
Date Mon, 12 Jan 2015 22:27:08 GMT
Hi,

I am trying to build my own scala project using sbt. The project is
dependent on both spark-score and spark-mllib. I included the following two
dependencies in my build.sbt file

libraryDependencies += "org.apache.spark" %% "spark-mllib" % "1.1.1"
libraryDependencies += "org.apache.spark" %% "spark-core" % "1.1.1"

However, when I run the "package" command in sbt, I got an error message
indicating that "object mllib is not a member of package org.apache.spark".

Did I do anything wrong?

Thanks,

Jianguo

Mime
View raw message