SBT + Idea 13 => Cannot resolve symbol

后端 未结 8 923
广开言路
广开言路 2020-12-14 15:22

I\'m using SBT + Idea 13.1.1 and I have all my SBT file in red:

name := \"Transformer\"

version := \"1.0\"

libraryDependencies ++= Seq(
  \"com.github.scop         


        
8条回答
  •  天命终不由人
    2020-12-14 15:51

    I had a similar problem on 14.1.2; in my case adding

    libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.1" % "test"
    

    and then trying to

    import org.scalatest._
    

    Would resulted in: cannot resolve symbol scalatest

    Downgrading sbt (0.13.8 -> 0.13.7); in build.properties solved the problem.

    here are more details.

提交回复
热议问题