简体   繁体   English

Japid配置?

[英]Japid configuration?

I'm using play-1.2.5, when I execute play japid:gen command it show we following error. 我正在使用play-1.2.5,当我执行play japid:gen命令时,它显示了以下错误。

~ Oops. conf/routes or conf/application.conf missing.
~ /home/ifkaar/Downloads/play-1.2.5 does not seem to host a valid application.

Dont know why, every thing seems to be good. 不知道为什么,每件事似乎都很好。

You should run play japid:gen under a play application, not play framework itself. 您应该在play应用程序下运行play japid:gen ,而不是play框架本身。

Try the followings: 尝试以下方法:

  1. cd to any dir you want to host your play app cd到要托管您的Play应用的任何目录
  2. run play new myApp 运行play new myApp
  3. cd myApp cd myApp
  4. edit conf/dependencies.yml in the app project folder and add japid into the file 在应用程序项目文件夹中编辑conf/dependencies.yml并将japid添加到文件中
  5. run play japid:gen 运行play japid:gen

I suggest you read through the play documentation to get some basic understanding 我建议您通读游戏文档以获得一些基本了解

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM