My only guess is that something is missing from your git repository.
Make sure that you've committed all of your files. You can verify what
is there when it runs on Heroku by running:
heroku run bash
Then to see all of the files on Heroku, run:
find .
Hope that helps.
-James
On 08/18/2012
Hi James, I have run this as you suggested using a local mvn package build
with the embedded webapp-runner.jar and it works fine.
The app is responding on localhost:8080
Any other idea?
Yuval
On Friday, August 17, 2012 8:16:03 PM UTC+2, James Ward wrote:
>
> That looks fine. You should run lo
That looks fine. You should run locally with webapp-runner to see if
you can reproduce the problem.
Run:
mvn package
java -jar target/dependency/webapp-runner.jar target/*.war
Let me know if you can reproduce this locally.
-James
On 08/17/2012 12:14 PM, Yuval Ron wrote:
Hi James, yes, I a
Hi James, yes, I am trying to run it on Heroku using the webapp-runner (it
is the embedded Tomcat right?). I basically took the original
Java+Spring+Hibernate example, added some code and carefully modified its
pom.xml and web.xml, but something is not working there. My pom looks like
this:
... de
How are you running your app on Heroku? Are you using webapp-runner?
If so, what happens when you run locally with webapp-runner?
-James
On 08/17/2012 11:41 AM, yuvalr80 wrote:
I use Java + Spring for my app. I am running on a local Tomcat 7 and everything
works fine.
When I deploy my code
I use Java + Spring for my app. I am running on a local Tomcat 7 and everything
works fine.
When I deploy my code to Git, the Maven build is completed successfully, but
then I can not browse to the website - I get two errors on Firebug:
"NetworkError: 404 Not Found - http://myapp.herokuapp.com