I believe you are using Spring Boot for your application, following the documentation I see some other properties being used:
spring.servlet.multipart.max-file-size=200MB
spring.servlet.multipart.max-request-size=200MB
spring.servlet.multipart.enabled=true
Spring Boot Documentation - Tuning file upload limits
You may also need to change the server configuration, as pointed out by @Seabiscuit in this post from Stackoverflow.
@Bean
public TomcatEmbeddedServletContainerFactory containerFactory() {
TomcatEmbeddedServletContainerFactory factory = new TomcatEmbeddedServletContainerFactory();
factory.addConnectorCustomizers(new TomcatConnectorCustomizer() {
@Override
public void customize(Connector connector) {
((AbstractHttp11Protocol<?>) connector.getProtocolHandler()).setMaxSwallowSize(-1);
}
});
return factory;
}
There must be a specific setting to apply to Wildfly as well.
Hello! Could pass complete error?
– Dherik