Spring Boot Gradle app on Heroku: Unable to access jarfile

后端 未结 3 1161
無奈伤痛
無奈伤痛 2021-01-03 09:49

I have a spring boot gradle app which I could run successfully on my PC by doing:

heroku local

It can also deploy on heroku successfully wh

3条回答
  •  孤独总比滥情好
    2021-01-03 09:59

    According to the documentation:

    The Gradle buildpack will automatically detect the use of the Spring Boot and Ratpack web frameworks.

    The web command should be overridden only if needed. If you're using Spring Boot, you shouldn't need to specify a Procfile at all.

    Delete it, and get your app running without further configuration.

提交回复
热议问题