title: Not able to deploy a helloworld spring-boot app on Cloud Foundry
body: <p>Getting following error while deploy a simple helloworld <code>SpringBoot</code> app on <code>Cloud Foundry</code> using <code>cf push helloworld-api</code> command.</p>
  
  <p>Note: I am not having a <code>manifest.yml</code> file</p>
  
  <p><strong>Error Log:</strong></p>
  
  <pre><code>Staging app and tracing logs...
     Downloading binary_buildpack...
     Downloading python_buildpack...
     Downloading go_buildpack...
     Downloading dotnet_core_buildpack...
     Downloading php_buildpack...
     Downloaded binary_buildpack
     Downloading hwc_buildpack...
     Downloaded go_buildpack
     Downloading staticfile_buildpack...
     Downloaded dotnet_core_buildpack
     Downloading dotnet_core_buildpack_beta...
     Downloaded dotnet_core_buildpack_beta
     Downloading java_buildpack...
     Downloaded hwc_buildpack
     Downloading ruby_buildpack...
     Downloaded staticfile_buildpack
     Downloading nodejs_buildpack...
     Downloaded java_buildpack
     Downloaded python_buildpack
     Downloaded ruby_buildpack
     Downloaded nodejs_buildpack
     Downloaded php_buildpack
     Cell 501d8bad-6db9-4f37-bcbb-bf678aeaa558 creating container for instance ef6baefc-b5e2-4bb4-9c5e-1711b4b8eb5c
     Cell 501d8bad-6db9-4f37-bcbb-bf678aeaa558 successfully created container for instance ef6baefc-b5e2-4bb4-9c5e-1711b4b8eb5c
     Downloading app package...
     Downloaded app package (85.1K)
     None of the buildpacks detected a compatible application
     Exit status 222
     Cell 501d8bad-6db9-4f37-bcbb-bf678aeaa558 stopping instance ef6baefc-b5e2-4bb4-9c5e-1711b4b8eb5c
     Cell 501d8bad-6db9-4f37-bcbb-bf678aeaa558 destroying container for instance ef6baefc-b5e2-4bb4-9c5e-1711b4b8eb5c
     Cell 501d8bad-6db9-4f37-bcbb-bf678aeaa558 successfully destroyed container for instance ef6baefc-b5e2-4bb4-9c5e-1711b4b8eb5c
  Error staging application: An app was not successfully detected by any available buildpack
  
  TIP: Use 'cf buildpacks' to see a list of supported buildpacks.
  FAILED
  </code></pre>
  
  <p><strong>pom.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;groupId&gt;com.example&lt;/groupId&gt;
      &lt;artifactId&gt;demo&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
  
      &lt;name&gt;helloworld&lt;/name&gt;
      &lt;description&gt;Demo project for Spring Boot&lt;/description&gt;
  
      &lt;parent&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
          &lt;version&gt;2.0.0.RELEASE&lt;/version&gt;
          &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
      &lt;/parent&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
          &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;/properties&gt;
  
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
          &lt;/dependency&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
                  &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
  
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>HelloWorldApplication.java</strong></p>
  
  <pre><code>@SpringBootApplication
  @RestController
  public class HelloworldApplication {
  
      public static void main(String[] args) {
          SpringApplication.run(HelloworldApplication.class, args);
      }
  
      @RequestMapping(path = "/", method = RequestMethod.GET)
      public String greet() {
          return "Hello World !";
      }
  
  }
  </code></pre>