upload file size limit in spring boot
As Michael & Stahorszki mentioned
"B"
must be capital
Property : spring.servlet.multipart.maxFileSize= 50MB
In Yaml
spring:
servlet:
multipart:
max-file-size: ${MAX_FILE_SIZE:8MB}
max-request-size: ${MAX_REQUEST_SIZE:8MB}