2014-08-31 84 views
0

我使用Play v 2.2.3和Java 1.7Heroku的错误安装播放

我指定那里:

system.properties dependencies.yml

日志:

-----> Play! app detected 
-----> Installing OpenJDK 1.7...done 
-----> Installing Play! 2.2.3..... 
-----> Error installing Play! framework or unsupported Play! framework version specified. Please review Dev Center for a list of supported versions. 
! Push rejected, failed to compile Play! app 
To [email protected]:whispering-brushlands-2197.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:whispering-brushlands-2197.git' 

我累了...请我需要帮助

+0

你有Procfile?我可能会误解,但我不认为依赖关系.yml用于英雄 – 2014-08-31 14:22:12

+0

号上的Play 2.x号。 我应该放哪里以及内容是什么? – 2014-08-31 15:43:47

回答

0

它看起来像你试图用Play 2.x应用程序使用heroku-buildpack-play buildpack。但它只支持Play 1.x.您可以通过运行更改为heroku-buildpack-scala buildpack:

$ heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-scala

+0

谢谢你非常匹配..我认为没关系 修正了这个问题 – 2014-09-07 07:43:36