我使用Play v 2.2.3和Java 1.7
我在那里指定:
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 git@heroku.com:whispering-brushlands-2197.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:whispering-brushlands-2197.git'
我累了......我需要帮助
答案 0 :(得分:0)
看起来您正在尝试将heroku-buildpack-play buildpack与Play 2.x应用一起使用。但它只支持Play 1.x.您可以通过运行:
更改为heroku-buildpack-scala buildpack
$ heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-scala