【发布时间】:2020-02-13 00:06:08
【问题描述】:
我正在 azure 存储文件共享上上传文件。我遵循了这个指南:https://docs.microsoft.com/en-us/azure/storage/files/storage-java-how-to-use-file-storage 它工作正常,但我无法上传大于 2MB 的文件。有什么问题?
Spring 没有显示任何错误,在前端我收到 500 Internal Server Error。
【问题讨论】:
-
尝试在 web.config 文件中设置
maxRequestLength和maxAllowedContentLength值。你可以关注这个文档。cnblogs.com/malaikuangren/archive/2012/09/23/2698974.html
标签: java spring-boot azure-storage azure-storage-files