由于我升级了我的Gradle构建以使用SDK 1.9.46部署我的App Engine应用程序,因此我收到部署冲突消息,如下所示。
Beginning interaction for module admin...
0% Created staging directory at: '/var/folders/m8/6z4h4k2x11s3whxrqmd79lym0000gn/T/appcfg2292422843793738444.tmp'
5% Scanning for jsp files.
8% Generated git repository information file.
20% Scanning files on local disk.
25% Scanned 250 files.
28% Scanned 500 files.
31% Scanned 750 files.
33% Scanned 1000 files.
34% Initiating update.
Nov 13, 2016 11:11:41 AM com.google.appengine.tools.admin.AbstractServerConnection send1
WARNING: Error posting to URL: https://appengine.google.com/api/appversion/create?module=admin&app_id=the-outdoor-game&version=dev&
409 Conflict
There is an operation pending for this application: AppLock held for "Updating engine_version_id='dev' within engine_id='default'." acquired by Peter.Fortuin at 2016-11-13 09:15:05.482616 GMT. Please wait and try again or use 'appcfg rollback' to attempt to cleanly abort the current operation.
This is try #0
如果没有解决问题,则回滚。唯一可行的方法是将App Engine SDK降级到1.9.44。但这给了我其他一些我不想解决的问题。
任何人都知道如何解决这个问题?可能是这是1.9.46 SDK中的错误吗?还有其他人看到同样的事情吗?
答案 0 :(得分:0)
我已经通过在我的模块的appengine-web.xml中将'service'更改为'module'来解决了这个问题。 有关详细信息,请参阅https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/268。