no web processes running heroku code example
Example: heroku no web processes running spring boot
Create Procfile with just
web: java -Dspring.profiles.active=default -Dserver.port=$PORT -jar target/*.jar
then on the heroku CLI :
heroku ps:scale web=1