I have Spring boot app running Java 11:
org.springframework.boot spring-boot-star
From Spring boot 2.1, you will now need to use a DataSize parsable value. e.g.
DataSize
server.max-http-header-size=40KB