I have downloaded Spring Social Showcase from git hub and have no problem running it on my localhost. When I try to run it on Heroku I get an application error. Checking the logs I see a
Error H14 – No web processes running
The heroku documentation states:
This is most likely the result of scaling your web processes down to
zero through the client.$ heroku ps:scale web=0Use the heroku ps command to determine the state of your web
processes.
When I run the heroku ps commnad nothing is returned.
I then attempted to set the web=1 with the following command:
$ heroku ps:scale web=1
This returns the following:
Scaling web processes... failed
! Record not found
I have two questions at this point:
- Has anyone been able to get the Spring Social Showcase to run on
Heroku? - Does anyone know what might be causing my application to
fail on Heroku while running without problems locally?
This is working now on Heroku. After adding the Procfile, checking the pom.xml for the web app runner plugin and commenting out the tomcat-maven-plugin, I ran
and deployed to Heroku once again. I received the no processes running error again. This time when I ran
it did not fail but started the web process. I then executed
and the application launched successfully.
This is the plugin I commented out:
This is the plugin I added: