简体   繁体   中英

Japid configuration?

I'm using play-1.2.5, when I execute play japid:gen command it show we following error.

~ 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.

Try the followings:

  1. cd to any dir you want to host your play app
  2. run play new myApp
  3. cd myApp
  4. edit conf/dependencies.yml in the app project folder and add japid into the file
  5. run play japid:gen

I suggest you read through the play documentation to get some basic understanding

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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