我使用 Play Framework 制作了一个新项目,但似乎无法将其推送到 Heroku。因为我也在使用 Maven,所以我使用下面的代码来创建 heroku 应用程序。
heroku create -s cedar --buildpack https://github.com/heroku/heroku-buildpack-play.git
从这个线程。AFAIK 我有我需要的所有文件。我在 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
有什么理由让它通过吗?谢谢