java-buildpack: Java Buildpack error

I am trying push spring boot application to cloud foundry but getting the following error.

ERROR Compile failed with exception #<RuntimeError: No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation. >
No container can run this application. Please ensure that you’ve pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation. 
Failed to compile droplet
Exit status 223.

I am giving Java buildpack in manifest.yml file

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 26 (15 by maintainers)

Most upvoted comments

Did you push your artifact using -p like this cf push appname -p yourapp.jar