Java Heroku推送被拒绝-未检测到支持Cedar的应用程序

Java Heroku推送被拒绝-未检测到支持Cedar的应用程序,java,git,heroku,playframework,playframework-2.0,Java,Git,Heroku,Playframework,Playframework 2.0,我用Play框架做了一个新项目,但我似乎不能把它推给Heroku。我使用下面的代码创建heroku应用程序,因为我也在使用Maven heroku create -s cedar --buildpack https://github.com/heroku/heroku-buildpack-play.git 。好的,我有我需要的所有文件。我在conf中有application.conf/ Counting objects: 35, done. Delta compression using up

我用Play框架做了一个新项目,但我似乎不能把它推给Heroku。我使用下面的代码创建heroku应用程序,因为我也在使用Maven

heroku create -s cedar --buildpack https://github.com/heroku/heroku-buildpack-play.git
。好的,我有我需要的所有文件。我在conf中有application.conf/

Counting objects: 35, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (29/29), done.
Writing objects: 100% (35/35), 94.25 KiB | 0 bytes/s, done.
Total 35 (delta 0), reused 0 (delta 0)

-----> Fetching custom git buildpack... done

 !     Push rejected, no Cedar-supported app detected

To git@heroku.com:peaceful-depths-9995.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:peaceful-depths-9995.git'
正在提交的文件:

[master (root-commit) d975f1a] Init
 21 files changed, 8682 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 Procfile
 create mode 100644 README
 create mode 100644 app/controllers/Application.java
 create mode 100644 app/views/index.scala.html
 create mode 100644 app/views/main.scala.html
 create mode 100644 conf/application.conf
 create mode 100644 conf/routes
 create mode 100644 pom.xml
 create mode 100644 project/Build.scala
 create mode 100644 project/build.properties
 create mode 100644 project/plugins.sbt
 create mode 100644 public/css/bootstrap.css
 create mode 100644 public/css/bootstrap.min.css
 create mode 100644 public/images/favicon.png
 create mode 100644 public/javascripts/jquery-1.9.0.min.js
 create mode 100644 public/js/bootstrap.js
 create mode 100644 public/js/bootstrap.min.js
 create mode 100644 public/stylesheets/main.css
 create mode 100644 test/ApplicationTest.java
 create mode 100644 test/IntegrationTest.java

有什么理由让它通过吗?谢谢

您正在使用Play 1 Heroku构建包。Play Framework 2+应用程序需要
https://github.com/heroku/heroku-buildpack-scala.git
buildpack.

您正在使用Play 1 Heroku buildpack。Play Framework 2+应用程序需要
https://github.com/heroku/heroku-buildpack-scala.git
buildpack