I created a bot for discord. Then i created executable jar file by eclipse (maven project). Then i deploing this file in heroku, using this documentation enter link description here And its worked, but then app crashed by R10 error.
my Procfile web (Free): java $JAVA_OPTS -jar jarvis.jar $JAR_OPTS
Logs 2018-10-07T19:08:05.426794+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Webprocess failed to bind to $PORT within 90 seconds of launch 2018-10-07T19:08:05.426794+00:00 heroku[web.1]: Stopping process with SIGKILL 2018-10-07T19:08:05.566438+00:00 heroku[web.1]: Process exited with status 137 2018-10-07T19:08:05.579345+00:00 heroku[web.1]: State changed from starting to crashed
How can i fixed it?