首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SBT不关心标量厌恶

SBT不关心标量厌恶
EN

Stack Overflow用户
提问于 2016-05-06 11:53:03
回答 1查看 311关注 0票数 1

我有一个问题,我想用sbt构建我的scala项目。我有Scala2.11.8,sbt about打印

代码语言:javascript
复制
[info] Loading project definition from /home/xxx
[info] Set current project to base (in build file:/home/xxx)
[info] This is sbt 0.13.8
[info] The current project is {file:/home/xxx}
[info] The current project is built against Scala 2.11.8
[info] 
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.4

但是,当我运行sbt compile时,我还是有一个例外:

代码语言:javascript
复制
[error]     during phase: typer
[error]     library version: version 2.10.4
[error]     compiler version: version 2.10.4

有人能帮我吗?谢谢

编辑忘记了build.sbt文件

build.sbt

代码语言:javascript
复制
name := "myproject"
version := "0.1"
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
  "io.jvm.uuid" %% "scala-uuid" % "0.2.1",
  "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
  "org.scalatest" % "scalatest_2.11" % "2.2.6" % "test",
  "com.github.nscala-time" %% "nscala-time" % "2.12.0",
  "ch.qos.logback" %  "logback-classic" % "1.1.7",
  "com.typesafe.scala-logging" %% "scala-logging" % "3.4.0",
  "org.scala-lang.modules" %% "scala-xml" % "1.0.4",
  "org.scalacheck" %% "scalacheck" % "1.13.0" % "test"
)

这个项目我没有任何build.scala

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-05-09 09:48:10

给费多拉23号。我最初安装的sbt与绑定库。我不得不移除它,重新安装sbt,而没有联盘回购。我没有工作,所以我重新安装了sbt二进制存储库,并且它可以工作。某个地方的配置搞砸了我想..。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37071709

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档