Java sbt 0.13.17“;编译sbt组件时出错';“编译器接口”;
当我在Windows终端上为一个普通的Scala程序执行“run”命令时,会出现以下错误: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 我使用的是
[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:发布你自己的答案,并@随时回复我以替换这个版本