I am new at scala. And for start I want to use Intellij 13.1.5 IDE.
However IDE can't attach sources. Here is how it looks for AnyVal
:
Search at internet
can't find any source.
I tried Attach sources
and attach unpacked scala archive. It doesn't work either.
UPDATE:
Here is sbt onfiguration:
name := "scalatest-selenium"
version := "1.0"
scalaVersion := "2.11.1"
libraryDependencies ++= Seq(
"net.sourceforge.htmlunit" % "htmlunit" % "2.14",
"org.seleniumhq.selenium" % "selenium-java" % "2.42.2",
"org.scalacheck" % "scalacheck_2.10" % "1.11.4" % "test",
"org.scalatest" % "scalatest_2.11" % "2.2.0" % "test"
)
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-u", "target/test-reports")
How to solve this trouble?
答案 0 :(得分:0)
我通过以下方式解决了这个问题:
删除了首页文件夹中的.sbt
目录。
再次运行sbt时,将以正确的格式创建新文件夹,错误消失。