Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/scala/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java sbt 0.13.17“;编译sbt组件时出错';“编译器接口”;_Java_Scala_Compiler Errors_Compilation_Sbt - Fatal编程技术网

Java sbt 0.13.17“;编译sbt组件时出错';“编译器接口”;

Java sbt 0.13.17“;编译sbt组件时出错';“编译器接口”;,java,scala,compiler-errors,compilation,sbt,Java,Scala,Compiler Errors,Compilation,Sbt,当我在Windows终端上为一个普通的Scala程序执行“run”命令时,会出现以下错误: [info] Resolving org.scala-sbt#interface;0.13.17 ... [error] (compile:compileIncremental) Error compiling sbt component 'compiler-interface' [error] Total time: 1 s, completed 15 Jun 2018, 23:36:48 我使用的是

当我在Windows终端上为一个普通的Scala程序执行“run”命令时,会出现以下错误:

[info] Resolving org.scala-sbt#interface;0.13.17 ...
[error] (compile:compileIncremental) Error compiling sbt component 'compiler-interface'
[error] Total time: 1 s, completed 15 Jun 2018, 23:36:48

我使用的是
jdk1.8.0\u172
scala版本2.11.8,
sbt版本0.13.17
。我唯一的库依赖项是
org.scalatest版本3.0.0
。我一直在学习有关Scala的Coursera课程,这就是为什么我要使用这些特定的(我相信是过时的?)版本

正如@Chenthil在对删除答案的评论中提到的:

libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4"

解决了这个问题。

你能分享这个版本吗。sbt?@Chenthil:发布你自己的答案,并@随时回复我以替换这个版本