如何在应用程序引擎中部署Spring应用程序大于35MB [英] How deploy spring application in app engine larger than 35mb

查看:117
本文介绍了如何在应用程序引擎中部署Spring应用程序大于35MB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(gcloud.app.deploy)无法上传文件[my-file],其大小为[40375610]
(大于允许的最大尺寸[33554432])。请删除文件或添加到应用程序.yaml文件中的skip_files条目,然后重试。



我知道app引擎部署支持文件直到35mb,但我不知道如何部署文件大35mb

解决方案

我希望35M不是所有的Java代码!我怀疑你有很多静态文件。如果是这样,您可以将这些内容上传到 GCloud Storage ,并从那里将它们服务器。


I try mvn appengine:deploy but receive

ERROR: (gcloud.app.deploy) Cannot upload file [my-file], which has size [40375610] (greater than maximum allowed size of [33554432]). Please delete the file or add to the skip_files entry in your application .yaml file and try again.

I know app engine deploy support file up until 35mb but i dont know how deploy files large more 35mb

解决方案

I hope that 35M is not all Java code! I suspect you have a lot of static files. If so, you can upload these to GCloud Storage and server them from there instead.

这篇关于如何在应用程序引擎中部署Spring应用程序大于35MB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆