Posts

Showing posts from December, 2017

heroku[router]: at=error code=H10 desc="App crashed"

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