I'm moving a Grails application from CouldFoundry to AppFog and I'm encountering an Error 310: Staging failed, web.xml not found. The af push is successful but when I try to set an environment variable with env-add or start the app I get the staging error.
There's a previous response to this issue here. I tried installing the latest cloud-foundry plugin as described in that response and the cf-push successfully pushes the app to AppFog but I still get the 310 error.
Error 310: Staging failed: 'Staging task failed:
Staging plugin failed: /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/java_web/plugin.rb:28:in `block in stage_application': Web application staging failed: web.xml not found (RuntimeError)
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/java_web/plugin.rb:22:in `chdir'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/java_web/plugin.rb:22:in `stage_application'
from /opt/cloudfoundry/vcap/stager/bin/run_plugin:19:in `<main>'