1

我正在尝试在 Ubuntu 上运行 play-1.2.3。它给了我以下错误:

@6bie96pcn
Internal Server Error (500) for request GET /favicon.ico

Oops: RuntimeException
An unexpected error occured caused by exception RuntimeException: java.io.FileNotFoundException: /usr/lib/play-1.2.3/play-1.2.3/samples-and-tests/forum/tmp/bytecode/DEV/DocViewerPlugin (No such file or directory)

play.exceptions.UnexpectedException: Unexpected Error
    at play.Play.start(Play.java:525)
    at play.Play.detectChanges(Play.java:599)
    at play.Invoker$Invocation.init(Invoker.java:186)
    at Invocation.HTTP Request(Play!)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /usr/lib/play-1.2.3/play-1.2.3/samples-and-tests/forum/tmp/bytecode/DEV/DocViewerPlugin (No such file or directory)
    at play.classloading.BytecodeCache.cacheBytecode(BytecodeCache.java:103)
    at play.classloading.ApplicationClassloader.loadApplicationClass(ApplicationClassloader.java:159)
    at play.classloading.ApplicationClassloader.loadClass(ApplicationClassloader.java:84)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at play.plugins.PluginCollection.reloadApplicationPlugins(PluginCollection.java:141)
    at play.Play.start(Play.java:440)
    ... 3 more
Caused by: java.io.FileNotFoundException: /usr/lib/play-1.2.3/play-1.2.3/samples-and-tests/forum/tmp/bytecode/DEV/DocViewerPlugin (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:212)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:165)
    at play.classloading.BytecodeCache.cacheBytecode(BytecodeCache.java:84)
    ... 8 more
14:42:40,419 ERROR ~ 

任何帮助是极大的赞赏!

4

1 回答 1

0

我将确立以下两点。

文件和目录/usr/lib/play-1.2.3/play-1.2.3/samples-and-tests/forum/tmp/bytecode/DEV/DocViewerPlugin是否存在?

用户 play 是否在有权访问 /usr/lib/play-1.2.3/play-1.2.3/samples-and-tests/forum/tmp/bytecode/DEV/DocViewerPlugin 的情况下运行?

于 2012-10-09T15:10:58.930 回答