title: Error when launching Spring Cloud Task batch-job on Pivotal Cloud Foundry
body: <p>I registered the batch-job task from <a href="https://repo.spring.io/libs-snapshot/io/spring/cloud/batch-job/1.0.0.RELEASE/" rel="nofollow noreferrer">https://repo.spring.io/libs-snapshot/io/spring/cloud/batch-job/1.0.0.RELEASE/</a> in Pivotal Cloud Foundry.</p>
  
  <p>When launching the task I see the error </p>
  
  <p>CF-UnprocessableEntity(10008): Task must have a droplet. Specify droplet or assign current droplet to app.</p>
  
  <p>These are the commands I executed to register this task</p>
  
  <p>app register --name batch-job --type task --uri maven://io.spring.cloud:batch-job:jar:1.0.0.RELEASE</p>
  
  <p>task create myjob --definition batch-job</p>
  
  <p>task list</p>
  
  <p>task launch myjob</p>
  
  <p>task execution list</p>
  
  <p>Appreciate if someone can point what I am i missing. </p>