在Play中设置环境变量!框架 [英] setting up environment variables in Play! framework

查看:117
本文介绍了在Play中设置环境变量!框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试获取Play!框架启动并运行.在我提取Play之后!将版本2.3.0升级到C:\Play,并将该目录(C:\Play)添加到环境变量"中的路径(与其他路径分隔;),我尝试使用播放新的foobar"命令运行该目录,不断收到错误消息无法将'Play'识别为内部或外部命令,可操作程序或批处理文件."

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

Play中的配置变量!框架

设置游戏框架的环境变量

为Play添加环境变量!框架

(第三个是最相似的,但该解决方案不适用于我.)

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

推荐答案

在Play 2.3+中,play命令被activator替换.

In Play 2.3+ play command is replaced by activator.

中的更多详细信息 Play 2.3的新功能 文档

More details in What's new in Play 2.3 doc

这篇关于在Play中设置环境变量!框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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