Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Playframework 玩1.2.4未找到模块:/Users/mxia/exec/play-1.2.4/modules/runclass_Playframework - Fatal编程技术网

Playframework 玩1.2.4未找到模块:/Users/mxia/exec/play-1.2.4/modules/runclass

Playframework 玩1.2.4未找到模块:/Users/mxia/exec/play-1.2.4/modules/runclass,playframework,Playframework,我正在尝试获得一个使用play的项目!1.2.4工作 我们正在使用maven,在从中解压播放后,我运行了以下命令 play install maven ~ Will install maven-head ~ This module is compatible with: 1.1 ~ Do you want to install this version (y/n)? y ~ Installing module maven-head... ~ ~ Fetching http://www.playf

我正在尝试获得一个使用play的项目!1.2.4工作

我们正在使用maven,在从中解压播放后,我运行了以下命令

play install maven

~ Will install maven-head
~ This module is compatible with: 1.1
~ Do you want to install this version (y/n)? y
~ Installing module maven-head...
~
~ Fetching http://www.playframework.org/modules/maven-head.zip
~ [--------------------------100%-------------------------] 34760.7 KiB/s   
~ Unzipping...
~
~ Module maven-head is installed!
~ You can now use it by adding it to the dependencies.yml file:
~
~ require:
~     play -> maven head`
然后我播放了mvn:refresh

但它抱怨道

~ Oops,
~ Module not found: /myPath/play-1.2.4/modules/runclass

有人知道我在哪里可以得到这个runclass模块吗?

您已经将maven模块安装到了本地play存储库中。 但此模块不适用于您的项目

您必须将此行添加到dependencies.yml中: 要求: 播放->maven head`

然后在项目上运行“playdependencies”命令,一切都会好起来