gpt4 book ai didi

playframework - Play Framework 安装

转载 作者:行者123 更新时间:2023-12-04 03:16:30 27 4
gpt4 key购买 nike

我正在尝试在ubuntu 11上安装 Play Framework 2.0.1。我已经添加了在ubuntu中 Play 的路径,已经配置了SUN JRE 1.6(java/javac),并且为 Play 脚本赋予了读取/写入/执行特权。但是,当我运行“Play 帮助”时,仍然会在下面复制错误-是 Play 目录应该只包含“文档”,“存储库”,“框架”和“样本”子目录,还是应该包含其他子目录。任何有帮助的建议都将受到欢迎。

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

最佳答案

如果您检查the documentation,您将看到以下警告:

extract the archive to a location where you have both read and write access (...) Running play writes some files to directories within the archive, so don’t install to /opt, /usr/local or anywhere else you’d need special permission to write to.

关于playframework - Play Framework 安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10559313/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com