SRosonina
SRosonina

Reputation: 106

Error 310: Staging failed: 'Staging task failed: - CloudFoundry

Getting an Error 310 when trying to stage my Play Framework java sample. Any assistance would be much appreciated:

Full error output here:

https://t.co/F0Zh2bY4

Upvotes: 0

Views: 494

Answers (1)

Glenn Oppegard
Glenn Oppegard

Reputation: 1149

Cloud Foundry requires Play apps to be pushed as zip files built with the play dist command: http://blog.cloudfoundry.com/2012/05/31/cloud-foundry-now-supports-play/

I was able to push your app on Mac OS X with the following:

~/Downloads/SecureSocial $ sbt play clean dist
~/Downloads/SecureSocial $ vmc push --path modules/securesocial/dist/securesocial-AuthDemo.zip

Upvotes: 3

Related Questions