App Engine 部署失败 - 最大文件大小?

App Engine Deployment Failure - Max File Size?

400 错误请求 最大文件大小为 32000000 字节。文件 "WEB-INF/lib/gwt-user.jar" 是 32026261 字节。

多年来我一直在毫无问题地部署此应用程序,并且此文件 (gwt-user.jar) 已成为此部署的一部分(已 2 年未更新)。任何人对可能发生的变化有任何想法?

最近没有与 App Engine 中的文件大小相关的更改。根据官方文档,每个上传文件的大小限制为32MB。

Deployments

An application is limited to 10,000 uploaded files per version. Each file is limited to a maximum size of 32 megabytes. Additionally, if the total size of all files for all versions exceeds the initial free 1 gigabyte, then there will be a $ 0.026 per GB per month charge.

我建议:

  1. 确保 WAR 文件仅包含应用程序启动所需的基本库。
  2. 使用 BlobStore 部署包含其他依赖项的 App Engine 应用程序(拆分必要的库)link