While trying to deploy a Spring application:
heroku[router]: at=error code=H10 desc=“App crashed” (…)
Create a `Procfile` under the project root with the contents:
web: java -Dserver.port=$PORT $JAVA_OPTS -cp target/classes:target/dependency/*
The problem is that the application is not binding with the Heroku provided port.