setting up environment variables in Play! framework

↘锁芯ラ 提交于 2020-01-05 06:39:07

问题


I am trying to get the Play! framework up and running. After I extracted Play! version 2.3.0 to C:\Play and adding that directory (C:\Play) to my path in 'Environment Variables' (separated form the other paths with a ;), I tried running it with the command "Play new foobar" and I keep getting the error "'Play' is not recognized as an internal or external command, operable program or batch file."

I have looked at a few possible fixes to this on here

Configuration Variables in Play! Framework

Setting an environment variable for play framework

Adding an environment variable for the Play! Framework

(The third was the most similar but that solution is not working for me.)


回答1:


In Play 2.3+ play command is replaced by activator.

More details in What's new in Play 2.3 doc



来源:https://stackoverflow.com/questions/24112599/setting-up-environment-variables-in-play-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!