启动Fresh Play 2.1项目时出错 [英] Error starting fresh play 2.1 project

查看:103
本文介绍了启动Fresh Play 2.1项目时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am using play framework 2.1.0, I have created fresh project using command play new myfirstapp, then I selected 2 option to create simple java project and thus it created project

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

Now when I start play by command play run I get following output

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时,它将在网络浏览器上为我提供例外

Now when I hit localhost:9000 it gives me following exception on web browser

请在此处找到图片:

走近一步已经成为瓶颈,请帮助我解决这个问题. 有关我的工作站的更多信息

It has become bottle neck for me to go further, kindly help me out with this problem. Some more information about my workstation

  • 其Windows 8 64位
  • JDK 7

推荐答案

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

You should try to put Play in a path without space (C:\development\playframework).

Play2 + Windows +空格不是好朋友;)

Play2 + windows + spaces are not good friends ;)

这篇关于启动Fresh Play 2.1项目时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆