2014-01-27 81 views
0

我在試圖獲得一個使用play的項目! 1.2.4工作。玩! 1.2.4找不到模塊:/Users/mxia/exec/play-1.2.4/modules/runclass

我們使用Maven和我從http://downloads.typesafe.com/releases/play-1.2.4.zip

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` 

然後我做了play mvn:refresh

解壓播放後運行以下命令,但它抱怨

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

任何人知道我在哪裏可以得到這個runclass模塊?

回答

0

您已將maven模塊安裝到本地播放存儲庫。 但是這個模塊不能用於你的項目。

你必須將此行添加到您的dependencies.yml: 要求: 播放 - >行家head`

然後對項目運行的命令「打的依賴性」,而一切都應該是不錯的。