1
resposta

Falha na inicialização do Heroku

Olá a todos!

Ao tentar realizar o push para o Heroku, aparece o seguinte erro:

remote: -----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/java.tgz
remote:        Could not find a pom.xml file! Please check that it exists and is committed to Git.
remote: 
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote: 
remote:  !     Push failed
remote: Verifying deploy...

Segue o link do git:

https://github.com/davirbeiro-1/casadocodigo/tree/books

1 resposta

Oi Davi

Tenta setar o PROJECT_PATH do heroku com o comando:

heroku config:set PROJECT_PATH=path/para/pom/do/projeto