【发布时间】:2012-05-20 12:28:24
【问题描述】:
我正在尝试在 ubuntu 11 上安装 play framework 2.0.1。我已经添加了在 ubuntu 中播放的路径,我已经配置了 SUN JRE 1.6 (java/javac),并且我已经授予了读/写/执行权限话剧剧本。但是,当我运行“播放帮助”时,我仍然收到下面复制的错误 - 播放目录应该只包含“文档”、“存储库”、“框架”和“样本”子目录,还是应该包含其他子目录.欢迎任何有用的建议。
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:900)
at xsbt.boot.Locks$.apply0(Locks.scala:34)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at scala.collection.mutable.FlatHashTable$class.$init$(Proxy.scala:32)
at xsbt.boot.Launch$ScalaProvider.<init>(Launch.scala:110)
at xsbt.boot.Launch$$anonfun$1.apply(Launch.scala:84)
at org.apache.ivy.plugins.namespace.NamespaceRule.newEntry(Cache.scala:17)
at org.apache.ivy.plugins.namespace.NamespaceRule.apply(Cache.scala:12)
at xsbt.boot.Launch.getScala(Launch.scala:86)
at xsbt.boot.Launch$.run(Launch.scala:49)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:43)
at xsbt.boot.Launch$.launch(Launch.scala:68)
at xsbt.boot.Launch$.apply(Launch.scala:14)
at xsbt.boot.Boot$.runImpl(Boot.scala:25)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.io.IOException: No such file or directory
【问题讨论】:
-
当我在我的主目录中设置播放目录时工作 - 以前我正在尝试 /opt。我将再次检查 opt 中播放目录的权限,并根据任何反馈恢复。我相信我已授予读/写/执行权限,甚至尝试将其作为 sudo 运行(但似乎我错过了一步或几步)。希望对您有所帮助。
标签: playframework playframework-2.0 failed-installation