IntelliJ Idea 14: cannot resolve symbol spark

后端 未结 6 1785
花落未央
花落未央 2021-02-09 13:55

I made a dependency of Spark which worked in my first project. But when I try to make a new project with Spark, my SBT does not import the external jars of org.apache.spark. The

6条回答
  •  我寻月下人不归
    2021-02-09 14:35

    I use

    scalaVersion := "2.11.7"
    
    libraryDependencies += "org.apache.spark" %% "spark-core" % "1.4.1"
    

    in my build.sbt and it works for me.

提交回复
热议问题