cloudfoundry - Staging Error while Pushing a Spring Application to Cloud Foundry -


i getting following error while pushing sample hello world spring application on cloudfoundry.

using manifest file c:\users\i321571\desktop\helo\hello\manifest.yml  updating app hello in org trial / space i321571 i321571... ok  uploading hello... uploading app files from: c:\users\i321571\desktop\helo\hello uploading 20.1k, 46 files done uploading ok  stopping app hello in org trial / space i321571 i321571... ok  starting app hello in org trial / space i321571 i321571... -----> downloaded app package (12k)     cloning '/tmp/buildpacks/java-buildpack'...     -----> java buildpack version: b050954 | https://github.com/cloudfoundry/java-buildpack.git#b050954 [buildpack]                      error compile failed exception #<runtimeerror: no container can run application. please ensure you've pushed valid jvm artifact or artifacts using -p command line argument or path manifest entry. information valid jvm artifacts can found @ https://github.com/cloudfoundry/java-buildpack#additional-documentation. > no container can run application. please ensure you've pushed valid jvm artifact or artifacts using -p command line argument or path manifest entry. information valid jvm artifac ts can found @ https://github.com/cloudfoundry/java-buildpack#additional-documentation. staging failed: buildpack compilation step failed  failed error restarting application: buildpackcompilefailed  tip: use 'cf logs hello --recent' more information 

this manifest.yml

applications: - name: hello   memory: 512m   instances: 1 

please me in resolving issue.

i encountered error too! make sure command given valid

  cf push {your-app-name} -p {path executable jar} 

Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -