App Engine Dev app server not updating in eclipse
I am using Eclipse Java EE and I am developing a google apps application using java and I am using the following launch configurations to run my application on localhost.
Base directory: ${project_loc}
Objectives: appengine:devserver
Maven Start Time: External C:\Program Files\Apache\apache-maven-3.2.5-bin\apache-maven-3.2.5
When I start my application using the above configuration, eclipse says it is running (as mentioned below)
[INFO] Jan 12, 2015 4:29:40 PM com.google.apphosting.utils.jetty.JettyLogger info
[INFO] INFO: Started SelectChannelConnector@127.0.0.1:8080
[INFO] Jan 12, 2015 4:29:40 PM com.google.appengine.tools.development.JettyContainerService startHotDeployScanner
[INFO] INFO: Full scan of the web app in place every 5s.
[INFO] Jan 12, 2015 4:29:40 PM com.google.appengine.tools.development.AbstractModule startup
[INFO] INFO: Module instance default is running at http : // localhost : 8080/
[INFO] Jan 12, 2015 4:29:40 PM com.google.appengine.tools.development.AbstractModule startup
[INFO] INFO: The admin console is running at http : // localhost : 8080 / _ ah / admin
[INFO] Jan 12, 2015 9:59:40 PM com.google.appengine.tools.development.DevAppServerImpl doStart
[INFO] INFO: Dev App Server is now running
But when I type localhost:8080
in the browser it says "This web page is not available" (using chrome or whatever) But as soon as I deploy my application to google appspot localhost: 8080 shows my application but every time the changes I make are not shown if i don't deploy my app to apppot.
and when i started a new project and run it on localhost. It shows my previous application
However, the app works fine on appspot.
I think there is something wrong with devserver (it is not updating correctly) and how can I fix it?
Try to run mvn clean install
beforemvn appengine:devserver
When I print 127.0.0.1:8080 in browser insthost localhost: 8080 the dev server works fine.