For those using Spring Boot 2.0 (as of M1 release), the property names have changed to:
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
Note the prefix is spring.servlet
instead of spring.http
.
More Related Contents:
- How to configure embedded Tomcat integrated with Spring to listen requests to IP address, besides localhost?
- Spring Boot Externalizing properties not working
- What is username and password when starting Spring Boot with Tomcat?
- Spring Boot Configure and Use Two DataSources
- Filter invoke twice when register as Spring bean
- Spring Boot, Spring Data JPA with multiple DataSources
- How can I log SQL statements in Spring Boot?
- Difference between @Mock, @MockBean and Mockito.mock()
- Spring Boot Adding Http Request Interceptors
- POSTing a @OneToMany sub-resource association in Spring Data REST
- Spring boot @ResponseBody doesn’t serialize entity id
- Can a spring boot @RestController be enabled/disabled using properties?
- Is it possible with Spring Boot to serve up JSPs with a JAR packaging?
- java.lang.NoClassDefFoundError: org/springframework/core/env/ConfigurableEnvironment
- How to enable HTTP response caching in Spring Boot
- Spring-Boot: How do I set JDBC pool properties like maximum number of connections?
- Multiple WebSecurityConfigurerAdapter in spring boot for multiple patterns
- Heroku cannot deploy Java 11 Spring Boot App [duplicate]
- How to get bean using application context in spring boot
- Maven Resource Filtering with Spring Boot: Could not resolve placeholder
- How to handle MaxUploadSizeExceededException
- Unable to use Spring Property Placeholders in logback.xml
- How to specify prefix for all controllers in Spring Boot?
- Spring Boot access static resources missing scr/main/resources
- bootstrap.yml configuration not processed anymore with Spring Cloud 2020.0
- How to use Spring Boot with MySQL database and JPA?
- How to modify request body before reaching controller in spring boot
- How do I add method based security to a Spring Boot project?
- Spring Boot – Reading Text File using ResourceLoader
- How I create an error handler (404, 500…) in Spring Boot/MVC