启动新播放2.1项目时出错

时间:2013-02-23 10:13:42

标签: java playframework-2.1

我正在使用play framework 2.1.0,我使用命令play new myfirstapp创建了新项目,然后我选择了2个选项来创建简单的java项目,从而创建了项目

现在,当我通过命令播放开始播放时,我得到以下输出

C:\development\application\firstApp\helloworld>play run
[info] Loading project definition from C:\development\application\firstApp\helloworld\project
[info] Set current project to helloworld (in build file:/C:/development/application/firstApp/helloworld/)


Cannot load the JNotify native library (C:\development\Play%20framework\repository\local\net.contentobjects.jnotify\jnotify\0.94\jars\jnotify.jar (The system cannot find the file specified))
Play will check file changes for each request, so expect degraded reloading performace.

--- (Running the application from SBT, auto-reloading is enabled) ---

[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000

(Server started, use Ctrl+D to stop and go back to the console...)

现在,当我点击localhost:9000时,它会在网络浏览器上显示异常

请在此处找到图片:

enter image description here

我已经成为了进一步发展的瓶颈,请帮助我解决这个问题。 有关我的工作站的更多信息

  • 它的Windows 8 64位
  • JDK 7

2 个答案:

答案 0 :(得分:17)

您应该尝试将Play放在没有空格的路径中(C:\ development \ playframework)。

Play2 + windows + space不是好朋友;)

答案 1 :(得分:-1)

通过转到开始菜单并编写IIS (INTERNET INFORMATION SERVICE)打开IIS,停止服务然后刷新页面(F5)。