Play Framework 2.2不适用于Mac OS X mavericks

时间:2014-04-17 19:22:10

标签: macos playframework osx-mavericks

我做了所有事情,但我不能玩游戏:/所以这是我的错误快照.Java 1.8 isntalled .. 我尝试酿造同样的结局。如果它可能知道什么是问题请帮助。提前谢谢。

sudo play
Password:
java.lang.Error: posix_spawn is not a supported process launch mechanism on this platform.
    at java.lang.UNIXProcess$1.run(UNIXProcess.java:105)
    at java.lang.UNIXProcess$1.run(UNIXProcess.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.lang.UNIXProcess.<clinit>(UNIXProcess.java:92)
    at java.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
    at java.lang.Runtime.exec(Runtime.java:620)
    at java.lang.Runtime.exec(Runtime.java:485)
    at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:183)
    at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:173)
    at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:168)
    at jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:72)
    at jline.internal.TerminalLineSettings.<init>(TerminalLineSettings.java:52)
    at jline.UnixTerminal.<init>(UnixTerminal.java:31)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
    at java.lang.Class.newInstance(Class.java:433)
    at jline.TerminalFactory.getFlavor(TerminalFactory.java:168)
    at jline.TerminalFactory.create(TerminalFactory.java:81)
    at jline.TerminalFactory.get(TerminalFactory.java:159)
    at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
    at jline.console.ConsoleReader.<init>(ConsoleReader.java:219)
    at jline.console.ConsoleReader.<init>(ConsoleReader.java:207)
    at play.console.Console$.<init>(Console.scala:14)
    at play.console.Console$.<clinit>(Console.scala)
    at play.console.Console.run(Console.scala:201)
    at play.console.Console.run(Console.scala:198)
    at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:57)
    at xsbt.boot.Launch$.withContextLoader(Launch.scala:77)
    at xsbt.boot.Launch$.run(Launch.scala:57)
    at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
    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)
Error during sbt execution: java.lang.Error: posix_spawn is not a supported process launch mechanism on this platform.

1 个答案:

答案 0 :(得分:1)

您必须安装Java JDK 1.7才能使用Play!框架

请参阅https://groups.google.com/forum/#!topic/play-framework/eLTQr-vVolY