Heroku Deploy of Java应用程序无法使用Ant Buildpack

时间:2015-04-28 15:45:05

标签: java heroku ant

我尝试将以下应用部署到Heroku: https://github.com/raeffu/ch.bfh.bti7081.s2015.Blue/

我正在使用Ant Buildpack

执行

$ git push heroku master

构建成功,然后在日志末尾显示此错误消息:

remote:        BUILD SUCCESSFUL
[.....]
remote: -----> Discovering process types
remote:        Procfile declares types -> web
remote:
remote: -----> Compressing... done, 236.4MB
remote: -----> Launching... failed
remote:
remote:  !     Push rejected, failure creating release
remote:
remote: Verifying deploy...
remote:
remote: !       Push rejected to healvis.
remote:
To https://git.heroku.com/healvis.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/healvis.git'

Procfile看起来像这样:

web: java -jar lib/webapp-runner-8.0.18.0-M1.jar --expand-war --port $PORT target/healvis.war

日志未显示任何有用的信息。

我怎样才能找到更多错误,或者更好的方法,我该如何解决?

1 个答案:

答案 0 :(得分:1)

问题是buildpack所需的插件shared-database

我分叉了存储库并删除了插件,现在它可以正常工作。