2

由于我升级了 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 的 bug?其他人看到同样的事情吗?

4

1 回答 1

0

我通过在我的模块的 appengine-web.xml 中将“服务”更改为“模块”解决了这个问题。有关更多信息,请参阅https://github.com/GoogleCloudPlatform/gradle-appengine-plugin/issues/268

于 2016-11-28T15:24:23.340 回答