sbt无法启动:找不到(未知)路径

时间:2016-03-01 15:47:22

标签: scala sbt

我已经下载了SBT以在Windows 64位计算机上构建scala项目并尝试启动SBT。但是,当输入" sbt"时,我立即得到以下崩溃(没有其他输出)。在提示符下(我在Windows终端模式下):

java.io.IOException: The system cannot find the path specified
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(Unknown Source)
        at xsbt.boot.Locks$.apply0(Locks.scala:34)
        at xsbt.boot.Locks$.apply(Locks.scala:28)
        at xsbt.boot.Update.apply(Update.scala:100)
        at xsbt.boot.Launch.update(Launch.scala:350)
        at xsbt.boot.Launch$$anonfun$jansiLoader$1.apply(Launch.scala:178)
        at scala.Option.getOrElse(Option.scala:120)
        at xsbt.boot.Launch.jansiLoader$2f324eef(Launch.scala:173)
        at xsbt.boot.Launch.<init>(Launch.scala:150)
        at xsbt.boot.Launcher$.apply(Launch.scala:364)
        at xsbt.boot.Launch$.apply(Launch.scala:18)
        at xsbt.boot.Boot$.runImpl(Boot.scala:41)
        at xsbt.boot.Boot$.main(Boot.scala:17)
        at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.io.IOException: The system cannot find the path specified

它找到并运行SBT,但它试图找到哪条路径?我在哪个目录中启动SBT无关紧要(即如果目录包含要构建的项目)< / p>

我尝试过一个干净的系统(使用scala IDE新安装的eclipse Luna,最新的Java JDK1.8.0_73)并尝试直接从msi文件安装SBT 0.13.11以及手动(我不使用SBT)捆绑在scala IDE中)。没有不同。 SBT不会开始。并没有暗示它正在寻找的路径。造成这种情况的原因是什么?

0 个答案:

没有答案