sbt:java.io.IOException:输入/输出错误

时间:2013-12-25 14:48:43

标签: sbt

在一台服务器上我再也无法启动了sbt,几个月前它运行良好。我尝试了不同的sbt版本,全新安装:0.12.1,0.12.4,0.13.1。我尝试了一个新的最小项目,有效的旧项目,不同的用户,总是相同的IOException(例如sbt 0.13.1)。我从0.12.1得到strace output。玩! 2.1.0没有问题,我可以创建新项目,编译它们等......

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
Scala code runner version 2.10.1 -- Copyright 2002-2013, LAMP/EPFL
  

装载   /groups/csf-ngs/bin/lib/sbt.dir/sbt-0.13.1/bin/sbt-launch-lib.bash   java.io.IOException:输入/输出错误   sun.nio.ch.FileDispatcherImpl.lock0(Native Method)at   sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:89)at   sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1024)at at   java.nio.channels.FileChannel.tryLock(FileChannel.java:1154)at at   xsbt.boot.Locks $ GlobalLock.withChannel $ 1(Locks.scala:88)at at   xsbt.boot.Locks $ GlobalLock.xsbt $启动$ $锁$$ GlobalLock $ withChannelRetries 1(Locks.scala:81)     在   xsbt.boot.Locks $ $$ GlobalLock $ anonfun $ withFileLock 1.适用(Locks.scala:102)     在xsbt.boot.Using $ .withResource(Using.scala:11)at   xsbt.boot.Using $ .apply(Using.scala:10)at   xsbt.boot.Locks $ GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)at at   xsbt.boot.Locks $ GlobalLock.withLock(Locks.scala:52)at   xsbt.boot.Locks $ .apply0(Locks.scala:31)at   xsbt.boot.Locks $ .apply(Locks.scala:28)at   xsbt.boot.Launch.locked(Launch.scala:178)at   xsbt.boot.Launch.app(Launch.scala:93)at   xsbt.boot.Launch.app(Launch.scala:91)at   xsbt.boot.Launch $ .run(Launch.scala:51)at   xsbt.boot.Launch $$ anonfun $ explicit $ 1.apply(Launch.scala:45)at at   xsbt.boot.Launch $ .launch(Launch.scala:65)at   xsbt.boot.Launch $ .apply(Launch.scala:16)at   xsbt.boot.Boot $ .runImpl(Boot.scala:32)at   xsbt.boot.Boot $ .main(Boot.scala:21)at   xsbt.boot.Boot.main(Boot.scala)sbt执行期间出错:   java.io.IOException:输入/输出错误

1 个答案:

答案 0 :(得分:0)

试试这个:

mv ~/.sbt ~/.sbt.old