I don't know the root cause. Could you try including only

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

It should be sufficient because mllib depends on core.

-Xiangrui

On Mon, Jan 12, 2015 at 2:27 PM, Jianguo Li <flyingfromch...@gmail.com> wrote:
> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to