Search code examples
cloud-foundrysts-springsourcetoolsuitevmc

unable to deploy application on cloudfoundry raising error 404 Not Found


i am trying to deploy spring application on cloudfoundry.but as a build war file of project using mvn package command.after that i used vmc push --appname target(directory) i finished all the steps that need to push on cloudfoundry. finally i got message uploading application-name....ok then i entered command vmc apps then it shows all my pushed applications.... there was url(http://cloudapp-project-master.cloudfoundry.com/) for my deployed application. which i copied and placed in browser then it giving me 404 Not Found nginx i don't know where is the problem.... Please help me to get out of this. advanced thanks....


Solution

  • Can you look at the logs folder to see if the files there give more information.

    vmc logs <app-name>
    

    or

    vmc files <app-name> logs/stderr.log
    vmc files <app-name> logs/stdout.log