我正在將一個Grails應用程序從CouldFoundry移動到AppFog,並遇到錯誤310:暫存失敗,未找到web.xml。 af推是成功的,但當我嘗試設置一個環境變量與env-add或啓動應用程序,我得到分期錯誤。錯誤310:暫存失敗,找不到web.xml
對此問題的回覆有here。我嘗試安裝最新的雲代工插件,如該響應中所述,並且cf-push成功將應用程序推送到AppFog,但仍然出現310錯誤。
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>'
我還使用的IntelliJ IDEA,並試圖解決方案建議[這裏](http://grails.1312388.n4.nabble.com/Staging-WEB-INF-web-xml-could-not- be-found-td1317912.html)沒有運氣。 – SeattleStephens