日頃の行い

個人的な日頃の行いをつらつら書いてます\\\\ ٩( 'ω' )و ////

play framework で java.io.IOException: No such file or directory

puppetでインストールしたplay framework 2.0.4さんが起動してくれなかった(´・ω・`)

java.io.IOException: No such file or directory
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(File.java:947)
        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

java.io.IOException: No such file or directory play frameworkでぐぐるとここにたどり着いた
http://stackoverflow.com/questions/10559313/play-framework-installation

なんか権限が足りてないらしい(´・ω・`)
ちょい急ぎだったので、playディレクトリ内
(= /path/to/play-2.0.4/)

  • repositories
  • framework

のディレクトリ権限を777にしたら治った。

もうちょっと原因を深く考えたい。